Introduction to Algorithms & Data Structures

About this text

This text is a primer for learning algorithms and data structures. Each example is done in JavaScript. It is intended for those coming from a coding bootcamp background looking into more academic study, those looking for a refresher, or for those about to undertake a Computer Science program. It does not go in depth but points the way.

If you're brand new to programming, I suggest Codecademy's course on JavaScript and/or the first few chapters of Eloquent JavaScript.

In addition, I suggest being able to run code in the examples. This can be done in your browser, using Node, or a site such as repl.it.

Contents

  1. Big O
  2. Recursion
  3. Linked Lists
  4. Stacks & Queues
  5. Trees

Illustrations by Chickadee Games.

Inspiration and other readings