
Go for DSA
From your first Go program to trees, graphs, and dynamic programming. Learn the language as you learn to solve problems.
- Language essentials
- Data structures
- Algorithms
- Exercises & solutions
Data structures and algorithms, one free book per language
Learn to reason about the problem. Then reach for the tools.
Five practical guides to data structures and algorithms. Start from setup. Work through real code. Explain why it works.
Choose your language
From your first Go program to trees, graphs, and dynamic programming. Learn the language as you learn to solve problems.

Build your algorithmic thinking with runnable Node.js examples, clear explanations, and JavaScript-specific guidance.

Classic data structures and algorithms in plain Python and the standard library, and what each short line really costs.

Build each structure by hand, then meet the java.util class that does the same job, in programs you run with one command.

Classic data structures and algorithms in modern C++20, built with warnings and sanitizers so a mistake fails loudly.
Don’t just collect the PDF. Make the ideas your own.
Trace a small input on paper. Decide what the program will do before you run it.
Type the example. Change an input. Test an edge case. Notice what breaks.
Describe why it works, its time cost, and its extra memory. Return tomorrow without your notes.
Setup, coursework, debugging, and projects. A practical introduction for CS students.
Explore the Codex guide