Posts

Showing posts from May, 2023

Data Structures UNIT - II (Stacks)

Image
      STACKS    Unit-II: Stacks and Queues   Stacks: The Stack: Definition, operations, implementation using arrays, linked list and Stack applications: Infix to postfix expression conversion, Evaluation of Postfix expressions, balancing the symbols. Queue:   definition, operations, implementation using arrays, linked list&it’sApplications. Circular queue : definition&its operations, implementation, Dequeue : definition & its types, implementation.     Learning Material   Stack Definition: ·       Stack is a linear data structure.   ·       Stack can be defined as a collection of homogeneous elements, where insertion and deletion operations takes place at only one end called TOP .   ·       The insertion operation is termed as PUSH and deletion operation is termed as POP operation.   ·    ...