Is it possible to create a circular link list with just one method?
Is it possible to create a circular link list with just one method?
Yes!
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Would a circular double link list have a continuous loop in the output display if there were 3 nodes?
If you're not careful when printing - Yes.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Cool. Thank you. Mine loops continuously so i wasn't sure if there was a definite way to tell if it was written correctly by the output.
Thanks for the assistance.