Reading-Notes

Class 10 Summary :

Stacks and Queues :

What is a Stack ?

Stack Terminology :

  1. Push .
  2. Pop.
  3. Top.
  4. Peek.
  5. IsEmpty.

Stacks Concepts :

  1. FILO ( First In Last Out)
  2. LIFO (Last In First Out)

Stack Visualization :

image1

What is a Queue ?

Queue Terminology :

  1. Enqueue.
  2. Dequeue.
  3. Front.
  4. Rear.
  5. Peek.
  6. IsEmpty

Queue concepts :

  1. FIFO (First In First Out)
  2. LILO (Last In Last Out)

Queue Visualization :

image2

Sources :

source1

source2