Which data structure is best for recursion implementation?
14 views
- Queue
- Stack (Correct Answer)
- Linked list
- Heap
Explanation
Recursion uses call stack to store activation records (function calls). Hence stack is the underlying data structure.
Recursion uses call stack to store activation records (function calls). Hence stack is the underlying data structure.
No comments yet. Be the first to comment!
Explore thousands of MCQs across every exam category on Exams Nepal.
Find More MCQs