Coding and problem solving
Data structures, coding problems, and AI-assisted changes without losing independent judgment.
Trace small inputs and justify each change
Begin with the state and operations behind a small input. A repeated ID, a dependency cycle, and a moving window are small enough to trace completely. Then solve unfamiliar coding problems before using AI to make and review bounded code changes.
You finish this part able to state a contract, walk an implementation, explain time and memory, and judge an AI-assisted change without giving up responsibility for the result. Python and TypeScript examples are supplied.
Parts group related chapters. Each lesson has a chapter.lesson address, such as 4.07. Open a title below, or use Next to follow the reading sequence. Within a lesson, On this page lists its sections.
- CH 01
Data structures and algorithms
Choose structures, trace their state, and defend time and memory costs.
- CH 02
Coding problems and trade-offs
Solve unfamiliar problems and explain correctness, boundaries, and trade-offs.
- CH 03
AI-assisted code changes
Specify and review bounded changes while keeping responsibility for the result.