DSA Comic The prologue

DSA Comic The prologue

More Options: Make a Folding Card

Storyboard Description

Boi dsa

Storyboard Text

  • Lesson: Dequeuing
  • To dequeue,  in the event of only one node in queue, you set frontNode and backNode to point to NULL
  • Yes and this will mean the queue is empty
  • Lesson: Dequeuing
  • If not, set a temp pointer to point to the front node and make frontNode’s pointer point to the next node in stack. 
  • Then make the removed node’s next pointer  point to NULL and deallocate memory of removed node.
  • Lesson: Summary of Enqueuing and Dequeuing
  • So Enqueuing is used to add a new item to the array.
  • Meanwhile Dequeuing is used to remove it from the queue array.
  • Lesson: Retrieving item in queue and check if empty
  • It can be used to retrieve item at the front of the queue ensuring the queue is not empty.
  • Then to check if the queue is empty, return true when count equals zero since it represent the number of items in the queue.
  • Lesson: Circular Queues
  • Now we will discuss more about Circular Queue and how it works.
  • Circular Queue makes use of circular arrays, advancing front and back indexes in a clockwise manner
  • Lesson: Circular Queues
  • In Circular Queues all nodes are treated as circular
  • Where the last node is connected back to the first node
More Storyboards By s10171159
Explore Our Articles and Examples

Try Our Other Websites!

Photos for Class   •   Quick Rubric   •   abcBABYart   •   Storyboard That's TPT Store