Pages
Home
C++/C- Programs
DOS Commands
BS Communication
Mathematics
Advertisement
About Us
Contact us
Sunday, September 15, 2013
Enque Algorithm for Curcular Queue using Array
If(Rear == U)
next = L
Else
next = Rear + 1
EndIf
If(next == Front)
print “Queue is Full.
Enqueue
not possible.”
Else
If(Front < L) AND (Rear < L)
Front = Front + 1
Rear = Rear + 1
Else
Rear = next
EndIf
A[Rear] = Item
EndIf
VIEW : DEQUE ALGORITHM
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment