Big problems are slow to solve one piece at a time. A faster approach: split the problem in half, deal with one part, and repeat on what's left.
Keep that idea in mind as you work through the case study next.
Among a pile of identical gold coins, exactly one is fake — a little lighter. A balance scale only tells you which side is heavier, or if both sides match. Find the fake coin in as few weighings as possible.
Pick a coin count and weigh. The coins split into two equal pans (an odd count sets one coin aside). Whichever side sinks is heavier — all real coins — so eliminate it and keep the lighter side. If the pans balance, the fake is the coin set aside. Repeat until one coin remains.
Pick a coin count, weigh the pans, then decide which half to eliminate. Eliminate the half that actually holds the fake and it's gone for good.
Choose a coin count above to begin.
There's no single "correct" wording — think through your reasoning based on what you just saw in the game.
Breaking it down: How did working on smaller parts make the original problem easier to handle?
Choosing the split: How did you decide where to divide the problem, and why was that division useful?
Solving smaller parts: What made each smaller problem easier to solve than the original one?
Repeating the process: What happened to the size and difficulty of the problems each time you divided them again?
Comparing approaches: If you solved the whole problem at once instead, what would become harder or more time-consuming? Why?
Instead of solving a big problem all at once, break it into smaller versions of the same problem, deal with those, and repeat — until what's left is small enough to solve instantly. That's exactly what you did in the game: a big pile became a tiny one, one weighing at a time.
T(n) = T(n/2) + O(1) → O(log₂ n)
Cutting a problem in half each step shrinks it exponentially — that's why 1,024 coins only ever took about 10 weighings, not 1,024.
These are open-ended — think through your reasoning, even if there's no single "right" answer.
New problem: You have 64 boxes, and one contains a hidden item. You can repeatedly split the boxes into smaller groups. How could you organize the search to avoid checking every box?
Recognize the pattern: A problem can be broken into smaller problems that can each be solved independently. What features would make this a good candidate for Divide and Conquer?
Choose an approach: You need to find the maximum value in a small list. Would splitting the list necessarily make the solution better? Explain your choice.
Spot the misconception: Someone says, "The more pieces we divide a problem into, the more efficient the algorithm becomes." What is wrong with this reasoning?
Change the constraints: Your original problem could be split evenly, but now one part is much larger than the others. How might this affect your approach?
Compare efficiency: Two algorithms solve the same problem. One repeatedly handles the entire input, while the other works on smaller portions. What would you examine to determine which will scale better?
Unfamiliar application: A company wants to find a faulty component in a large network without testing every component. How could the idea of repeatedly narrowing the problem help, and what would determine whether it is efficient?
You've reached the end of this study card.