Essential CognitionScience

Algorithmic Thinking

Definition

Algorithmic Thinking: cutting problems into clear, finite, repeatable steps and deliberately trading off correctness, speed and cost. It turns one-off flashes into reusable, improvable, delegable process.

Core rule: When facing a recurring or complex problem, stop and ask: can I break it into clear steps and design a reusable rule? Algorithmize everyday decisions (a fixed review routine, a shopping list, rules for handling email) to cut down on in-the-moment drain. Build an intuition for complexity: estimate how a solution's cost grows with scale, and eliminate "unscalable" approaches early. Accept "good enough": when information and time are limited, use heuristics to decide fast rather than chasing an unattainable optimum. At work, turn tacit experience into documented processes so it can be reused, delegated, or automated.

Edsger Dijkstra sat down on a café terrace in Amsterdam with a problem on his mind. What was the shortest route from Rotterdam to Groningen? He later recalled that he had no pencil or paper with him.

Think of all the turns between those two cities. Would he have to try every route before he could be sure he'd found the shortest?

Algorithmic thinking is turning a problem into rules you can follow to an answer in a finite number of steps. We'll follow Dijkstra through a few junctions. Then we'll see how running the steps quickly can still take you somewhere you didn't want to go.

How it works

First, draw a map the machine can work with. In his nineteen fifty-nine paper, Dijkstra used points for places and links for the distances between them. Each distance was nonnegative. Given that map, he wanted to get from the start to the destination with the shortest total distance.

Picture a ripple moving out from the start. Write down the distances to the neighboring points. Pick the closest point whose final distance you haven't settled yet, settle it, and update any neighboring distances you can improve by going through it. Then do it again.

  1. 01 · Define inputs and outputs First state clearly what's known and what result you want.
  2. 02 · Break down the problem Split a complex problem into subproblems you can solve one by one.
  3. +2 more mechanism steps & animation in the app

When it fails & limits

Getting to the end of a procedure tells you the steps ran. Now check whether it was the right procedure to run.

✦ Unlock full lesson in ConceptFlow

Unlock the full Algorithmic Thinking lesson in ConceptFlow

You’ve read the core idea and opening case. Get the ConceptFlow app to continue through the full breakdown, failure modes, 5-minute audio lesson, and decision practice.

  • ▸5-minute English & Mandarin audio lesson
  • ▸4 more deep-dive case & mechanism insights
  • ▸All 4 failure boundaries & counter-examples
  • ▸3-point decision checklist + 6-step practice

Tap a store button on mobile, or scan with your phone camera on desktop.