Identify the "queue full" condition in case of double ended queue :

JKSET 2023

Identify the "queue full" condition in case of double ended queue :

  1. A.

    If (front=0 && rear=max -1)

  2. B.

    If (front= -1 && rear = -1)

  3. C.

    if (rear= max-1)

  4. D.

    If ((front=0 && rear=max -1) || ( front = rear+1))

Attempted by 2 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…