What’s a Linked List, Anyway? [Part 1]


Regardless of which language we start coding in, one of the first things that we encounter are data structures, which are the different ways that we can organize our data; variablesarrays, hashes, and objects are all types of data structures. But these are still just the tip of the iceberg when it comes to data structures; there are a lot more, some of which start to sound super complicated the more that you hear about them.

One of those complicated things for me has always been linked lists. I’ve known about linked lists for a few years now, but I can never quite keep them straight in my head. I only really think about them when I’m preparing for (or sometimes, in the middle of) a technical interview, and someone asks me about them. 

Read more at Vaidehi Joshi