Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the data structures used to perform recursion?



What is the data structures used to perform recursion?..

Answer / phool chand

Stack. Because of its LIFO (Last In First Out) property it remembers its ‘caller’ so knows whom to return when the function has to return. Recursion makes use of system stack for storing the return addresses of the function calls. Every recursive function has its equivalent iterative (non-recursive) function. Even when such equivalent iterative procedures are written, explicit stack is to be used.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Define an algorithm. What are the types of algorithms?

0 Answers  


Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

0 Answers  


Why is arraylist not thread safe?

0 Answers  


What is faster array or arraylist?

0 Answers  


Why arraylist is not efficient for manipulation?

0 Answers  


We know that Arrays are objects so why cannot we write strArray.length()?

0 Answers  


Is json a data structure?

0 Answers  


Is arraylist heterogeneous?

0 Answers  


Explain about the different lists available in the collection?

0 Answers  


Stack can be described as a pointer. Explain.

5 Answers   Wipro,


How much time does it take to learn data structures?

0 Answers  


What is the difference between null and void?

0 Answers  


Categories