Doubly-linked list/Element insertion: Difference between revisions

Content added Content deleted
Line 533: Line 533:
end
end


function printfromroot(r)
function printfromroot(root)
root = r
print(root.value)
print(root.value)
while root.succ != nothing
while root.succ != nothing