Question DSA-REC-0014
MediumHow does memoisation speed up a recursive function?
- A.
It uses more threads
- B.
It converts recursion to iteration automatically
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Recursion and Backtracking question
How does memoisation speed up a recursive function?
It uses more threads
It converts recursion to iteration automatically
Sign up free to see the answer and a step-by-step explanation.
It removes the base case
It stores results of subproblems so each is computed only once