logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the data structures used to perform recursion?


  • Correct Answer
  • 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 


  • Technology problems


    Search Results


    • 1. In an AVL tree the balancing is to be done when the pivotal value is in range of

    • Options
    • A. greater than 1 and less than -1
    • B. greater than -1 and less than 1
    • C. greater than 1
    • D. less than -1
    • Discuss
    • 2. What are the difference between in-stream procedure and inline procedure in JCL ?
    • Discuss
    • 3. What are the processing modes available in IMS DB?
    • Discuss
    • 4. What are the two types of fields available in IMS DB?
    • Discuss
    • 5. How can we distinguish between an online and batch program in IMS environment?
    • Discuss
    • 6. Define void pointer using C++.?
    • Discuss
    • 7. What is C++
    • Discuss
    • 8. What are the basic concepts of object oriented programming?
    • Discuss
    • 9. What are the features of C++ different from C?
    • Discuss
    • 10. what is the use of virtual destructor in c++?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment