Essential DecisionScience

Brute Force

Definition

Brute force skips cleverness: list every candidate, check each one, and stop when you find the answer or confirm there is none. If the candidates are finite, it always delivers a result you can verify. The cost grows with the number of candidates, and combinations can quickly swell beyond what you could ever test.

Core rule: When you face a problem, first estimate how many candidates there are: if it is a few dozen or a few hundred, just try them one by one rather than losing time hunting for a clever trick; if it is thousands or more, first think about which conditions can rule out a large chunk at a stroke, cut what remains down to a size you can finish, and then exhaust it. Before you start, confirm two things: can the candidates be listed in full, and can each one be checked quickly?

Say you have a train to catch tomorrow, and tonight you realize you've forgotten your suitcase code. It's a three digit lock, so you could spend half an hour looking for a shortcut online. Or you could start at zero zero zero and tug the latch after every number.

You put a thumb on the dial and wonder if this is a silly way to spend your evening. But could you open the suitcase in the time it takes to look up a better method?

This is brute force, or exhaustive search: list all the possible answers and test them one at a time. We'll work out how long that would take here, then see what happens when the list gets away from you.

How it works

Before you turn the first dial, think about what you'll know at the end. If the list is finite and you can check every entry, you'll either find an answer or rule out every possibility. You can check the result without relying on a flash of inspiration.

The latch gives you an answer with each tug. For a different problem, check whether each candidate is as easy to test. If even one test takes a long time, a short list can become an expensive afternoon.

  1. 01 · List every candidate Write down every possible answer and make sure none is missing.
  2. 02 · Check each one Judge every candidate against the same standard.
  3. +1 more mechanism steps & animation in the app

When it fails & limits

Even when you can list the possibilities, stop to work out what the search will cost. There are three ways the bill can come as a surprise.

✦ Unlock full lesson in ConceptFlow

Unlock the full Brute Force 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
  • ▸5 more deep-dive case & mechanism insights
  • ▸All 5 failure boundaries & counter-examples
  • ▸4-point decision checklist + 6-step practice

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