Continue with your mobile number
A stack is the most suitable data structure for implementing recursion. This is because recursive calls need to store the state of the current function execution before jumping into the next function call. Stacks follow the Last In, First Out (LIFO) principle, which perfectly suits the recursive function call structure. Why Other Options are Wrong: b) A queue follows First In, First Out (FIFO), which doesn’t support the nature of recursion. c) Linked lists can be used for dynamic memory but are not suitable for managing function calls in recursion. d) Arrays have a fixed size and do not inherently support LIFO behavior. e) Hash tables are for storing key-value pairs and have no role in recursion.
Where did the 148th Inter-Parliamentary Union meeting take place in March 2024?
Which Indian cricketer was awarded honorary membership by the Melbourne Cricket Club (MCC)?
Which state government has launched the 'Maha Lakshmi scheme', a pioneering initiative offering free bus travel to women, promoting gender equality, emp...
Which minister is in charge of Fisheries, Animal Husbandry and Dairying?
Which film received the prestigious Palme d'Or award at the 2024 Cannes International Film Festival?
Which company partnered with Bharat Electronics to support India's medium-range surface-to-air missile systems?
Who is the renowned author of the drama "Vikramorvashi,?
THAAD, a missile defence system is being received by Isreal from which of the following countries?
What was the theme of World Food Safety Day observed on June 7, 2024?
India’s 1st 3-D Printed Post Office has been setup in which city ?