Professional Documents
Culture Documents
Assicnmert2 SCHOLAR
Lhtts attes Malehing? Explain ive
algosrtmm
APottesn motching is the psoc@ss ot chekin
NOLL)
step-5: T tt s TRUE, Een assiqmNULL +
head and delete temp and tesminate
Fesem the unection-(Stine Empty
ist cordtEionD
Step-: TE E is FALSE Then KeeP moving
mp uril iE eaches Lo last n
He st
nts emp mext is caual to NUL
Gtep-t-Assiqm uULL to
tempspeiousret
and deste temp
meuode nexet=tail-next;
tolnect aneONode
tosl=neuwNode;
Step-5: Displa vatue tot 1s insexled in cLL
SLL o Delete at aPostiador Fosion.
step-Check nethes tre lfst is erpb noE
nead -- NULL
Step-2 * Set temp -=heod
Step-3. Set 1 =oo
Sep-t: Repeoct the steps 5 to 3 util the
Sotisfied Step-is
kep-5:templ -temp
tep-6 temp-temp->nede
Step-7: IF bamp-NOLL Node is Tet
Stp-3T =t* pesert-E ND
END OF LOOP
shep-: Templ nezt tevwmp-snet
sbep-l0: Reee henp
step-11: BND
cu fos delete at a foxliculas Pasilion
Step- mitialze hoo nale pohste c-P,
Step-2: Gseote a. vouriable that sesves as countex
6xable as k
Step-3: Set the Value of del to posH
S,o,o
910,o
called Be Backbsackino
T61S uses an oppoach
used to
1s an alaotamic techrique
Aosi bin-Tt
to buld o