Professional Documents
Culture Documents
Ah Ing Uneion: Hoshing 4uti 7
Ah Ing Uneion: Hoshing 4uti 7
Ah Ing Uneion: Hoshing 4uti 7
ah ing uneion
/1D
35
57 4 (2 2 86 33
FC0
FOO 1 12/101F
F(2) 25
FC) 38 7 Hoshing 4uti
FC4) ug
FC6) 57
n/16
FCe)
FT)
F(8)
F (A)- ap
Nbdus
inkd
Jist
irt indo
St 9u et onods. JUink
3dinR
NODEx
(NoDE) malloc (sizeostous dt moda
Cn-NUL)
putd, " Ouct memosu n )5
exit (o)
9utusm m
tem P 9tnodo. )
temP ind t m be a l o u e ) u l g
tRmp 9lin R=NULL,
i Ctoot NLL)
utuon tem
pscl NULL
CU 9OOt
4ohile (ou uLL)
item - cS in
PuntC duuplicate. item au nmet allousd n")
temp)
utusm oot h
d (ittm a
ino)
CuStcuH UinR
else 1d0/
9linR
temp
elae
peOy 9ulin temp 0 d
dutuom 9u0ot
Void oum ()
NODE SDot = NOLL
int item s
)
to be ins hd
Ente the i tom
4
S0Am C 2iten)
toot= h s t C9oot tem)
punt C t binasu tooe so oct is
inoed Csuoat)
Sonrtinal SeanCh
CPaogpanm to
arm to uamae muunmbas n ca8ding
i n g Radix Sosct
S indudl stdioh
Inclasd math h
includs <stdlib h
9t9uut mode
int ino
StOuct mode* inR
ir
psr Ci-o 3ikmi+)
od, &ai)
4
9cam
int m)
vod dsplayasoaCint a. ,
int1
4
poCi= 0, in
puntCod, aC)
goo
NODE getood. ()
NODE odt)
( s t o u u e t m o d t ) ;
memm0et \n
p u t C Out
exit (o)
Bctueen n
NODE temps
NODE uSL
tempgetmole O
emp ingD item
temp unR = NULL
Ciost- NULL
eue 19ust
cohila. ( tus Jin R- NULL)
link
CUSL ünR =tmp
8tatusumASt
tirt Sepcsatedigt
psatedig tt Clert iten, int
(iert rtem d 1 Y00
/ *d
itom
item 1041o
/ 10110-
uhtsun tom/Cint) pous (10-1) o|0
void
8adi xcosc: Cint a , int n)
m
int
, R m , big, d ts
NODE PLI6J
temp
bia pe o
Josuaest ( am)
mJogto Cbig) +1 5
m t+)
PEiD-NULL
a[kt temp ho
Hemp tme in
dasgest Cint a.L,
int pos-O
im it+)
(a a posD
Pos
1T0
etoum apos
3
Nold am ()
(
int m
i a [261
PSLunt ( Entesu tems n ")
8can C bd
m) ;
PpunC "Entes the etommem ts to o9ut
\n")
Ceate aseayoa,m);
adix-Sett Can) oibotp g
t
unta he ouhed o6ay is \n")
displauyAsOayC a m)
int ino
9h9udt modu *JinR
hpad stouwdt mede* DO NODE
void 0abeas1L Cint at ,intm)
inti
pse Ci=0ikmi++)
90on o d , &o[t) ;
v
(
n i+
NebE dnode
NODE b
nCN ODE) ma lloC(Síze oCstuoct moda) d
Cn-NOLL)
PLntdC0ut mammo ty L),
xit (o) oylo401)
3
9Ltusm n
mP ink
9ctum temp
pAON NULL,
Cus4ost
oido s e INULL It0n O0)0uSt ino)
CuS us ink
Pos-O
bigpo
4oCi ikmi++)
Cati S a. tpo
pos
bi o. Cpos3,
i ogo (big)
S0tusum pouo C10,),