operations

  Copy


More Options: Make a Folding Card




Storyboard Description

This storyboard does not have a description.

Storyboard Text

  • Operations of Circular Queue
  • 
  • 1. Front: Gets front item from queue
  • Operation prints 1 when called.
  • 2
  • 1
  • REAR
  • FRONT
  • 2. Rear: Gets last item from queue
  • Operation prints 2 when called.
  • 2
  • 1
  • REAR
  • FRONT
  • 3. enQueue(value): Add element into queue. New element is added at rear position. Rear moves to next position after element is added.
  • 1
  • FRONT
  • REAR
  • 2
  • 4. deQueue(): This function is used to delete an element from the circular queue. In a circular queue, the element is always deleted from front position.
  • 1
  • 2
  • FRONT
  • REAR
  • When enqueuing or dequeuing, always check if the queue is empty first.
  • IMPORTANT
More Storyboards By dsagroupworkthing
Explore Our Articles and Examples

Try Our Other Websites!

Photos for Class – Search for School-Safe, Creative Commons Photos! (It Even Cites for You!)
Quick Rubric – Easily Make and Share Great Looking Rubrics!