Data Structure
Assignment-II
Q.1) What is stack? Write an algorithm to PUSH and POP the element into
stack
with example.
Q.2) What is recursion? Explain the recursion algorithm to find the factorial of
given number.
Q3) Write an algorithm to generate Fibonacci series using recursion.
Q4) Explain Tower of Hanoi problem with suitable example.
Q.5) What is Queue? Explain the algorithm to delete the element from the
queue.
Q.6) Explain the types of Queue in detail.
Q.7) Define tree. Explain its family and representation.
Q.8) What is Binary tree? Explain the memory representation of Binary Tree.