← Mindset · guided lesson

Mindset & Problem Solving

1 / 18 · story

the story

A problem-solving routine (Pólya → UMPIRE)

Every tool here exists because something was too slow or broke without it. Here is what.

1945 · George Pólya; UMPIRE as taught by CodePath

In How to Solve It (1945), the mathematician George Pólya turned problem solving into a checklist. Its four headings: understanding the problem, devising a plan, carrying out the plan, looking back. CodePath's UMPIRE interview strategy — Understand, Match, Plan, Implement, Review, Evaluate — follows the same arc for coding rounds, adding "match it to a known pattern" and "evaluate the cost".

the problem it solved

Freezing in front of an unfamiliar problem: a routine always gives you a next step that needs no flash of genius.

why it matters: without it

You jump into code, solve the wrong problem, or hit a wall at minute 20 with nothing on the board — and panic makes it worse.

sources: Princeton University Press — How to Solve It (G. Pólya) ↗ · G. Pólya, How to Solve It — Penguin edition sample (contents: the four phases) ↗ · CodePath — UMPIRE Interview Strategy ↗

also in this chapter: Brute force first, then remove the bottleneck · Dry run (trace table) · Stress testing against a brute force