Step 1: ifFRONT = -1 thenPrint “Queue is Underflow”ExitEnd of ifStep 2: ITEM QUEUE [FRONT]Step 3: if FRONT = REAR thenFRONT = 0REAR = 0ElseFRONT = FRONT + 1Step 4: return
Your experience on this site will be improved by allowing cookies. Read Cookie Policy