Sunday, September 15, 2013

Deque Algorithm for Curcular Queue using Array


If(Front == U)

      next = L

Else

      next = Front + 1

EndIf


Item = NULL

Enque Algorithm for Curcular Queue using Array

If(Rear == U)
      next = L
Else
      next = Rear + 1
EndIf

If(next == Front)
      print “Queue is Full.