Friday, 13 March 2015

Linked -> Lists|

As day till summer gets shorter, the lists we work with gets longer. Linked lists are a linear sequence of nodes. A linked list can be visualized as a sequence of nodes, each with it own value and reference to the next node in the sequence. Unlike the previous tree classes we have seen before, linked lists allows us to insert or remove list elements or values without shifting the entire structure of the list at any point.

Linked list example structure

No comments:

Post a Comment