Implementation of Symbol Tabte
An
IFis the most simplistic uay to implement Symboltable.
i Linear list>
(Here arra Can be one-
qyvay is used to stose nfovmatim dimensicmal os multidimensicmal
Name Attribute
Data 1 Seasching
ID
Data 2
ID2 Data 3
Searching is aluwoys done
one
Sequentiall pne
by
Aray rom the 1st elemetof the
array to the last etementof
IDn Dota n the ama
AVAILABLE
poites, indicate,if
which annew name
At the end of aray there is a AVAILABLE
s to be însestedt hust irst adel ho, AyA4AQLE on
is implemented
symbol tableeach
2 Self Organising List: In the self organising list the
is added to seco sd
usfng lnked list. A 1ink fieid
Name Atibute Link
Data4 Here Begining t'nk star
To ID, ag wehave
2
Data2
Array 9Ssumed hat the prem
ID Data3 and noof occorence9 of
ID4. Data 4 element with name =1 D3
s more.
AVAILABLE
ID ID IDA P2
T
piom
must rs
As new elementis hserre this arag, So that element
And. if the piayiy of th
add to the endog aay ine Available
adeled element is move betw een
oY , r less. Accovdina to Tts occurenee
newly
09au se'f *'ganis kstis fovmed.
Bnary SearchTree
free
Th'sBindry Seash
made from se iforgavntl
feftChild Td
eftchld
ateiRIV
. Hash Table: Ife the mèst peoerfuttechnique bor ha smbol fobl
d
mplemetetton En this techoique tooo tables are Maun feu'ne
Hash Tabe
Namie
Sum sum n
Int
1nt
ag Float
K- AVAiLABLE
Hash funehon i,e. h name) Xetuyns integes value K
A0b i eglhi7 2