1.

Which Data Structure Is Used To Perform Recursion?

Answer»
  • The DATA structure used for recursion is Stack.
  • Its LIFO PROPERTY helps it remembers its 'caller'. This helps it know the data which is to be RETURNED when the function has to RETURN.
  • System stack is used for storing the return ADDRESSES of the function calls.



Discussion

No Comment Found