Question DSA-REC-0067
HardA recursive permutation generator picks one remaining element at each level. Counting the first call, how many calls does it make for n = 3?
- A.
16
- B.
27
- 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
A recursive permutation generator picks one remaining element at each level. Counting the first call, how many calls does it make for n = 3?
16
27
Sign up free to see the answer and a step-by-step explanation.
6
9