Download as pdf
Download as pdf
You are on page 1of 9
| Ayphitirms te Evaluate 4 Posthx pobeben \— Step-1 Trihelige a Steck, Repesd Map) SR Uniti] eie gene fe ee poetsiar B® en Gutered: Shep sera Tp an operand Dd enlomtened Hen push 7t ontp Shek: 4-| she-4Y Ifo an operatoA Ve Crnlountered than: 4) Pop the +00 Values toon fae. Ack: by apply, Hn Prem’ tee Vahues OR te pelt of dep'b’ brok onto dre sinc: fend gf Atmebrre} | ee Ley St te ond 4 egprasion sewtt Grmimed of the top a we ec age Ends Recursion; ‘ . Recursion Ba Progr go oll Talk Ex - Facto sel & — Fibonacei Series a 5] = MURBAURS =120 Os gil 3h SSG), BS ee OM Factorind Cea al) Sep If nN=0 then: Set Facr=] and reborn stpr set fact =! [eitstice fact te Ieor } 3 Rerest toh kel PN Set fact 2 ke Pak [ent 4 word i ee a Towa Heme: — He THe Towen Gf rere? ba mathmetical game pugle, Tt Consiet “fF Hover odf and a Ne F lok, differant Sizes which Gm Slide onte amy hed gartivg pe 3 —l 2 A A B i Fil coe ae cl Ey | ‘A a Bs & is fy mov I move dink 3 to Pol © z move ts 2 te Pol B 3 nore fale. “SL cte. Mel 8 ae nea eee Ss moe dot 3 to Port A co move lit He Post © dink 3 4 post c 2 move A Paven resis checking 4— . J In 4 CH Aigner level longonge Pregsam Stick yp used te Check the Pwper opening and closing} Peountresis AP pregam Gan have fo following Braces — A Ce PD 1 The stack b Used to check “Hnase call type 4 Pare tress - A Program Sill be Gabled properly pecrunthehideo| if fry fhe Psvgsarn- a) Thee is 4 Closing Parenthesis fan every openig Parenthesis: - wy tare oe egal vee f cling oh MS Powertiss- Queues — — AQ th a lines tala Arwehse in which Ise Kory element Cay ike place only ab am ent ishA, Glled Rear and Jno deletion oMelernent can Fake place only at other end Cilled FRowr. The queue ty work as First In Axit out (FIFO) ordes). 2 CFIFO) Ades). 2» FICO ondeh tre iret element asloled to 4ne queue will Se Aemoved Hyp. Example — O dene a 4 people carla at a Betet wirvlow ox hue Stop: a Faretwimdy J @ Hime Shading System In Compnbes Auvence in wich Prograre tity the ae Aso) a queue Ushile waiting fp be execned.- m a Type q queue; — ) lime qQueve bh) Creda Goeue wy oubie qulece W) Priehity queue. weve Sepresentabon ;— ee Uy aveny iy By inte list Pront=o Rear =3 delete \ a Fanta. [8 louis CO head=3 aot tea I Se 0 Poy Away when @& erophy dron FoRE-1 Bis over {IO Thin Fe Rat Ais Untedtoo WY Fa R-) i Opessbory OV Juewe;}— @) Front i) Rens, “Agent fo, Fnsehibor) (4-203) Gin (AB , Marsze 6,8, item) Gt ais wray and masze pepresent Limit Fis Feont and R Vs hen whore item is no- te tract) Stet Fy Feo and Ra MACIZe 1) then prove overfio and exit Loner fo ata} feu tf ace Af Ue . ae ea : yr en {cnece te agape act P= R= 0 ea ey R= Marsige -1 H49 Ute Overtins anol Aehus se ie <8 FER 7 . {Endl 4 if sme} : 3 Set & fe) = tem Limatne4 el Eye = Delebeq 4 @lements MG (Front) AYO 40x tanh Ede(_&, mareze, FR) Steet TP Fe-1 nen foneck for Remhy f tarite Tundertion’ ancl reton feu af A Sree eee es = @LFl {onect 40% sy" element m a} Ey rake) bet FeRe-) ese oct PE Ex 4 fen + ut} a See Dousle eneled Aueue Coepue) Tt is 4 limess list in nich elemente Gn de added 0% Aemoved from both Ye ends but not trom He micielle. it is now as Degue. Ayo» © deletion « 1 | oe Insex Hor) eal deleton 4 Poot went There arg Wo Hype 4 cegue — Inpt Sotrcted degue:— Pn tris, fayerbor in Such queue Can date Ale ot only one enol; Rowesvey jan element Can d¢ deleted troy | Beth, tnels - VW) dutpet Aesticked oleque — deletion in sucn quene Can tave place at enly one end, Hower ar element Con be Isedted at bot We ends Rot Mreerhon and cleleb Gn re Performed hon both ue eno.

You might also like