DEV Community

Discussion on: thank u, next: an introduction to linked lists

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

One case where they do make sense, is sharing the same (potentially very long) tail among various heads. This is useful when you want to trace something that splits up a lot.

In certain edge-cases a combination of both may also be useful; that is, a linked list of arrays. I haven't come across any use case where this really makes sense though.