Skip to main content

DSA Introduction

2 lessonsAbout 12 minutesBeginner

This part of the DSA Tutorial runs from What Are Data Structures and Algorithms through to How to Approach a DSA Problem. There are 2 lessons here, and working through them takes about 12 minutes at a steady pace.

This is where the DSA Tutorial starts. Nothing before it is assumed, and every example runs in the editor built into each lesson, so you can change the code and see the result without installing anything.

Each lesson below says what it covers before you open it. Read them in order the first time; afterwards this page works as a index you can jump back into when you need to check one thing.

  1. 1What Are Data Structures and AlgorithmsData structures decide how your data is stored; algorithms decide what you do with it. Learn what DSA actually means in JavaScript and why the same problem can run in a second or an hour.
  2. 2How to Approach a DSA ProblemA repeatable method for solving data structure and algorithm problems: restate, find the brute force, name the bottleneck, then improve it. Worked through on a real example in JavaScript.