A link list is a programming construct. You have a series of cells and each cell has a data section and a pointer section. each cell points to the next cell in the list and the last cell points to the first to make it circular.
Look here for a visual:
http://lcm.csa.iisc.ernet.in/dsa/node25.…
You can program a sort like this to bubble up the answer. THis is suedo code.
temp=0
p=getfirstpointoflist(list)
repeat
if list(d).p > list(d).next then
temp=list(d).next
list(d).next=list(d).p
list(d).p=temp
end if
p=list.next
until done
Report Abuse