Module M01 · 1 of 35 in teaching order · Beginner

Algorithmic Thinking

Turn a vague task into precise inputs, outputs and constraints, then argue that a solution is correct.

Lessons

  1. Turn a vague task into a precise contract: inputs, outputs, constraints and edge cases, then go from brute force to a better structure. C#, Python, Java, C++.

  2. Prove a loop correct with an invariant (initialization, maintenance, termination), make sure it stops, and test the edge cases that break most code.

Topics this module covers

The full module scope. Topics without a lesson above are not written yet.

  • algorithms
  • data structures
  • decomposition
  • inputs/outputs
  • constraints
  • pseudocode
  • correctness
  • loop invariants
  • edge cases
  • brute force vs optimization
  • choosing structures

Nothing: this is a starting point.

Builds toward