Algorithm to delete an element in circular queue
Answers
Answered by
3
⤵️⤵️⤵️
Algorithm for Delete Operation. Step 1: If FRONT = -1 then. Write ("Circular Queue Underflow") Step 2: Return (CQ [FRONT]) Step 3: If FRONT = REAR then. FRONT=REAR=-1. Step 4: If FRONT = SIZE-1 then. FRONT=0. Else. FRONT=FRONT+1.
Similar questions