Category: Stacks

Linked Stack

OUTPUT: Do u want to: 1.Push an element in linked stack. 2.Pop an element from linked stack. 3.Display linked stack. 1 Enter element to Push:1 do u want 2 continue?y Do u want to: 1.Push an element in linked stack.…

Binary Tree

OUTPUT: Enter operation to be carried out : ADD DISPLAY EXIT :1 Enter root :5 Do u want to continue? :y Enter operation to be carried out : ADD DISPLAY EXIT :1 Enter subtree :3 Do u want to continue?…