Professional Documents
Culture Documents
:
Date:
:1
tops 4 4oQ10 0 p
goQ ogeiakonsc
ekesedelekins theelern.ent omthtistock
93 checY uheáhe he Shutk is erogky
I024 t g A delete Ahe elecotsst ksano Ae
emgty sheck, Ahenthe undestls CandiAlon
OcuS
15 he shack 1s n asAs e Ss arLess
thealetaest kich is painted oy the do
Ontethe Qog ope(akion
i ertoxncd, Ake Aec
14decxeeniec b1,1edo2z Hep-1
goHo
Ste
E
Page No.
Date
G-2
AbS-a)A stak isLa hndas odaha Shduckode Ahat
tallowsAhe to \astaineksouSpsisdile
SHac has ane end ano e anelemen 1
added 1n theStack,iitisaddod an 4he tep
OSMe tack, and the element Coan he delefed
Onyfom theStapk.
*ypeS a Queue
Rexe ae ou fe o Queue
)Cimle ueLe
he Simple qleye isd nomal, q0ele
uhere in Sextian 4akes place at he ront
The queue and deletlan take place o ENO ok
the q0eue
acular dedei-
oisalenqueue, the las riode i
Conneshed to the iost onle
CiKcula queue islalso Called as Bing Rallr
nSeiooio a ciicule queuehaop enSa
theFant and detekion a the nd o tthe
g ueue
|Agosthm or DegueUe:
Tt CFRoAT-1) then
PintQueue is empy L
3) it
4)Else
ITEM2 Que RoNTT
IF CFR E REAR
PEAR -1
3)
BlSe
FRoNT a FRoNT +1
End i
End iFE
Y3)4P
Page No.
Dato
divide233u12 24
dvide23 34 24AS 6 9 32
Mesge23 34 H1 64532
merge 1223 3H 632 Lstg
mere 4|16 1223 32 3u Hs23
Now, fhe ana iS Co m pleeY Sated.
smiiex
belenent 4ho Cond13a0oS me
s.Coti0 AS
21 32
ta1a3l32
13324
92
/Vou Y 15 Completl sostel