Hi All,
Is there a name for a linked list type structure where the head and tail nodes link to each other? In such a list you can obviously iterate through it forever as it double backs on itself.
Was just wondering.
Hi All,
Is there a name for a linked list type structure where the head and tail nodes link to each other? In such a list you can obviously iterate through it forever as it double backs on itself.
Was just wondering.
Yes, it's called a circular list.
(Anders Hejlsberg's favorite data structure is a circular linked list)