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 the difference between for and foreach loop?

908


What do you mean by shortest path?

1007


What is data structure operations?

970


Does linked list allow null values?

770


What is reduction to sorting method?

884


What is bubble sort and quick sort?

896


What is difference between arraylist and linkedlist?

987


What are the basic data structures?

918


What is dynamic array in excel?

842


What is the use of data structure?

878


Mention one advantage and disadvantage of using quadratic probing?

957


Why is hashset not ordered?

918


What is difference between while and do while?

821


What do you understand by doubly linked list?

862


Does hashset allow duplicates?

1017