What is the data structures used to perform recursion?
Submitted by: AdministratorStack. 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.
Submitted by: Administrator
Submitted by: Administrator
Read Online Data Structures Job Interview Questions And Answers
Top Data Structures Questions
☺ | What is data structure? |
☺ | List out the areas in which data structures are applied extensively? |
☺ | If you are using C language to implement the heterogeneous linked list, what pointer type will you use? |
☺ | What is the data structures used to perform recursion? |
☺ | What are the methods available in storing sequential files ? |
Top Databases Programming Categories
☺ | RDBMS Interview Questions. |
☺ | SQL Interview Questions. |
☺ | SSRS Interview Questions. |
☺ | Sybase Interview Questions. |
☺ | Database Administrator (DBA) Interview Questions. |