Johnder Perez

Track 2 of 4 · 6 short steps

Thinking in Algorithms & Data


Goal: Understand why some code runs slowly and how to pick the right shape for your data.

Why this matters

AI tools write code that works on the demo data. Algorithms and data structures are about what happens when the data gets real: 10,000 listings, 50 users clicking at once, a list that keeps growing. This track gives you the vocabulary to spot slow code before your users do.

The steps

Each step is a 2-minute read with a quick check at the end.

  1. Step 1

    Big-O notation (time and space)

  2. Step 2

    Arrays, linked lists, stacks and queues

  3. Step 3

    Hash maps (objects, dictionaries, Maps, Sets)

  4. Step 4

    Trees and graphs

  5. Step 5

    Searching and sorting

  6. Step 6

    Recursion, BFS and DFS

Start step 1 →

Try it

Game: guess the Big-O

What's the cost of each line as the data grows? Score: 0/6

users.get(id)  // Map lookup
for (const x of list) total += x
for (a of list) for (b of list) compare(a, b)
binarySearch(sortedList, target)
list.sort((a, b) => a - b)
orders.map(o => users.find(u => u.id === o.userId))

AI mistakes to watch for

Tip: paste a file into your AI tool and ask, "Check this for each of these issues and explain any you find." Then verify what it says yourself.

Milestone checklist

Your ticks are saved in this browser only.

Reading & free resources

← How Computers Actually Work Next: Writing Code That Lasts →