Data Structure 101

Knowing your data structures can help you:

  • Manage complexity and make your programs easier to follow.

  • Build high-performance, memory-efficient programs.

I believe that the former is more important. Using the right data structure can drastically simplify what would otherwise be complicated logic.

The latter is important too. If performance or memory matters then using the right data structure is more than often essential.

In order to learn about data structures, we’re going to implement a few of them together. Don’t worry, we’ll keep the code nice and short. In fact, there are way more comments than there is code.

Don’t let you bring down by the lengthy content; you could easily split the reading of a structure per day, or set your own peace. Your future-self will be thankful!

AD, please don't block.