Posts

Showing posts with the label stack operations

Menu driven program for Stack operations (Using Linked List)

Image
  Menu driven program for Stack operations (Using Linked List) Stack is a data structure that works on the principle of Last in First Out i.e. LIFO. The program given below is a C++ menu driven program for the implementation of stack and various operations used in stack like creation, traversing , push and pop operations . The implementation of stack is done using Linked List.

Menu driven program for Stack operations (Using Array)

Image
 Menu driven program for Stack operations (Using Array) Stack is a data structure that works on the principle of Last in First Out i.e. LIFO. The program given below is a C++ menu driven program for the implementation of stack and various operations used in stack like creation, traversing , push and pop operations .