Skip to lesson content
navan✳THE BUILD LABDSA
0/66 complete
BUILD LAB / DSA/ WORKBENCH
TAKE THE REASONING WITH YOU

A clear head.
A proper workbench.

66 runnable examples, 66 solutions, the complexity reference, and a verifier. Separate from the Python Lab. No third-party packages or databases needed.

Download the DSA workbench ↓

01 Start with the ideas

Read the problem contract and pseudocode before looking at the Python. Use the browser’s Algorithm Studio to step through the actual sorting, search, and BFS states. You can use the interactive studio without installing anything.

02 Run a complete example

Install Python 3.11 or newer and extract the ZIP. Open a terminal in the extracted dsa-lab-workbench folder.

macOS / Linux
python3 -m experiments.welcome
python3 -m experiments.edmonds_karp
python3 -m solutions.route_engine

On Windows, use py instead of python3. If you already have an environment, its python command also works. Module names use underscores where lesson URLs use hyphens.

03 Verify the workbook

Run from the workbook root
python3 scripts/check_dsa_lessons.py

The verifier executes all examples and solutions, compares the main example outputs, checks prerequisite references and cycles, and checks each lesson’s model notes. It requires only the standard library.

TESTS ARE EVIDENCE, NOT A UNIVERSAL PROOF

Matching examples does not prove correctness for every input. Use the stated contracts, invariants, and edge cases alongside the executable checks.

04 Know where things live

experiments/Complete implementation examplessolutions/One possible solution per missioncourse.jsonExplanations, pseudocode, complexity, quizzes and expected outputcomplexity.csvPer-implementation time and space referencescripts/The executable course verifier

These files do not depend on the Python course’s workbench. The website also stores DSA completion separately from Python completion in your browser.

Download only the complexity reference ↓

05 Put the pieces together

Build a weighted route engine, a dependency-aware project planner, and an inverted search index. Each project has a definition of done and complete runnable starting implementation.

Build a route engine ↗
Built with curiosity. By Navan Sami. ↗Patterns over panic. One step at a time.