Tulip Labs: hard ideas in computer science, maths and modelling, learnt by playing with simulations
Hard ideas you can poke.
Computer science, maths and modelling, taught as simulations: a city of voxels, a sandpile, a segment tree filling up block by block. Watch it move first, then write the code yourself, beat the hidden tests, and watch your garden bloom.
From the ground floor
to Codeforces.
Scroll and the clouds clear one tile at a time. That's how the chapters work too.
a look inside
What it's actually like.
Every idea opens as a simulation you can step and poke. Then you write the Python yourself, right in the page, and checks tell you what works.
12 chapters
Open ComplexityEach step adds one real part, and the blueprint stacks it into place. Pass the last test and it ships.
29 chapters
Open Build your own XEvery question has a big hidden test, like LeetCode and Codeforces, so you feel why the clever way exists.
44 chapters
Open DSAEvery track is a flower. Chapters make it bloom, and wrong answers come back later for review, so nothing slips.
136 chapters, one garden
Pick a trackthe tracks / 07
Pick a door.
Each track is a run of chapters. Every chapter opens with a simulation, then climbs a ladder of exercises: predict, fix the bug, put the lines in order, write it, rebuild it from memory.
one XP, every track
Rest on what you've built.
Points from every track land in one total. Wrong answers come back later in your review queue, and a streak counts the days you show up. It all lives in this browser, nowhere else.
Carry on where you stopped →your map
A world that fills in as you go.
Every chapter in the lab is a place on this globe. Finish one and it turns pink. Start one and it gets a cream cross.
- ⊗0 chapters finished
- ✚0 started
- ▮0 still to explore
- +open sea
Nothing pink yet. Finish any chapter and it lands on the map.
how a chapter works
Watch, guess, then build.
- Play the simulationStep it, run it, switch the slow way and the smart way, and count the work each one does.
- Predict and runReal Python in your browser. Guess the output first, then check.
- Climb the ladderFix a bug, order the lines, write it, then take on LeetCode, Codeforces and big-company questions.
- Lock it inQuick-fire quizzes, a real-world project, and one rebuild from memory with nothing to copy.
what's new