DU-CS Practicals of data structures
2nd year - C++ based
(i)using recursion,
(ii) using iteration
(i)using recursion,
(ii) using iteration
(i) with recursion
(ii) without recursion
(a)Insertion (Recursive and Iterative Implementation)
(b)Deletion by copying (c)Deletion by Merging
(d)Search a no. in BST
(e)Display its preorder, postorder and inorder traversals Recursively
(f)Display its preorder, postorder and inorder traversals Iteratively
(g)Display its level-by-level traversals
(h)Count the non-leaf nodes and leaf nodes
(i)Display height of tree
(j)Create a mirror image of tree
(k)Check whether two BSTs are equal or not