Multi-linked lists

A multi-linked list, or multiply linked list, is a special type of linked list that has two or more links linking each node to another node. It can grow multi-directionally based on the purpose of the linked list. For example, if we take the example of a list of students with each student being a node with the properties of name, age, gender, department, major, and so on, then we can link each student's node not only with the next and previous nodes, but also with age, gender, department, and major. Though the usage of such a linked list requires a good understanding of the linked list concept, we can use such special linked lists whenever we need. The following image depicts a multi-linked list:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset