SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

MockP2

» Start this Course
(Practice similar questions for free)
Question:

Adds an element to the queue

Author: Sozen



Answer:

What does this pseudocode do? (queues) if isFull then print("Queue full") else rear = (rear + 1) MOD maxSize q[rear] = newItem size = size + 1


0 / 5  (0 ratings)

1 answer(s) in total

Author

Sozen
Sozen