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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is heap tree in data structure?

931


Is boolean a data type?

964


What are the 3 types of measurement?

1019


Run time memory allocation is known as ?

997


Which interfaces are implemented by abstractqueue?

924


How is bubble sort done?

853


How many types of priority queue are there?

926


Mention for which header list, you will found the last node contains the null pointer?

850


What are the major data structures used in the network data model?

1065


What is sort order?

854


How to increase stack limit in w3wp.exe?

1060


List the area of applications where stack data structure can be used?

917


What is a map programming?

955


Does arraylist extend list?

936


Why is sorting and classifying important?

846