Question DSA-REC-0051
MediumWhat is the key step that makes an algorithm 'backtracking' rather than plain recursion?
- A.
Using a loop
- B.
Using memoisation
- 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
What is the key step that makes an algorithm 'backtracking' rather than plain recursion?
Using a loop
Using memoisation
Sign up free to see the answer and a step-by-step explanation.
Undoing a choice after exploring it, so another choice can be tried
Sorting the input