When a circular queue is implemented in an array, then which of the following…

KVS TGT/PGT 2018Kendriya Vidyalaya Sangathan 2018

When a circular queue is implemented in an array, then which of the following condition holds when there is only one element in the queue?

  1. A.

    Front = Rear = null

  2. B.

    Front = Rear ≠ null

  3. C.

    Front = Rear + 1

  4. D.

    Front = Rear − 1

Attempted by 2181 students.

Sign up free to check your answer

Sign up free

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…