The Puzzle Gauntlet
The Puzzle Gauntlet 🏟️
This is it — the graduation unit. No new tools. No training wheels. Just puzzles.
Here's a secret worth knowing: many of these problems are FAMOUS. Two Sum, the palindrome check, the anagram test, the majority vote, move-the-zeros, Collatz, Fibonacci — grown-up programmers get asked these in job interviews at the biggest tech companies in the world. You're about to solve them for fun, in a costume party version.
How to fight in the gauntlet
- Read twice, code once. What exactly comes in? What exactly goes out?
- Name the pattern. Almost everything here is secretly a search, a tally, a best-so-far, a pair-hunt, a stack trick, or a simulation. Once you name it, you've half solved it.
- Brute force with pride, then upgrade. Several puzzles appear twice — the honest slow way, then a TURBO version with a clever trick. Slow-but-correct is always a respectable first draft; the upgrade is where the magic lives. Two Sum's dict trick is the single most useful idea in this whole unit — savor it.
- Test your instincts against the edges. Negative numbers, ties, empty-ish inputs — the gauntlet hides its traps where instincts fail and tests don't.
Between you and graduation stand Pairs & Partners, Words & Mirrors, Number Puzzles, and the Grand Challenges — where every problem needs at least two of your skills at once.
And at the very top of the Champion path waits the Final Door, with a three-part lock. You've been collecting its keys since your very first print(). Go. 🎓
# problems
1The Gift Card Puzzle
Medium
2The Dance Partners
Medium
3The Matching Mittens
Medium
4Difference Detectives
Medium
5Closest to the Target
Medium
6Count the Twins
Medium
7The Even Seesaw
Medium
8One From Each Shelf
Medium
9Secret Santa Check
Medium
10The Triple Team
Medium
11The Lonely Glove
Medium
12The Mirror Test, No Props
Medium
13The Messy Mirror
Medium
14The First Lonely Letter
Medium
15The Copycat Letter
Medium
16Count the Camel Humps
Medium
17The Caesar Wheel
Medium
18The Echo Word
Medium
19One Edit Apart
Medium
20Compress the Chant
Medium
21Unpack the Chant
Medium
22The Double Invitation
Medium
23The Popular Vote
Medium
24Move the Zeros
Medium
25The Digit Crusher
Medium
26The Binary Cake
Medium
27The Prime Detector
Medium
28The Collatz Ride
Medium
29Fibonacci's Bunnies
Medium
30The Message in the Noise
Medium
31The Playlist Shuffle Check
Medium