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

Is vector a collection?

842


How many parts are there in a declaration statement using data structures?

941


How would you check if a binary tree is BST or not ? Write a program.

876


What is a circular singly linked list?

888


What is data structure and why we need it?

868


How does sort function work?

836


Is quicksort divide and conquer?

866


Is hashtable fail fast?

811


What is circular linked list?

916


Are linked lists considered linear or non-linear data structure?

987


Define a full binary tree ?

962


Can arraylist be empty?

843


Which is faster binary or linear search?

855


What does a treemap do?

796


How do you access the values within an array?

1035