~/boss / sorted-golem
Binary search
The Sorted Golem
Find its weak spot in as few hits as you can. Par is 10.
Loading the fight…
How to beat it
Its armour is sorted. Strike anywhere: if the weak spot is bigger, everything left of your strike is useless, and that whole side falls off.
Now the real boss
Interviews ask for the code. Watch it run, then write it yourself, tested in Python, C++ or Java.
On your phone? Writing code is easier on a laptop: open bossfight.dev/problems/binary-search there. Sign in with GitHub to keep your progress on every device.