~/boss / cursed-sudoku

Backtracking

The Cursed Grid

Fill the cursed sudoku one square at a time. Hit a dead end? Erase and go back.

Loading the fight…

How to beat it

Go to the first empty square and try the smallest number that breaks no rule, then move on to the next. When nothing fits, erase, go back one square and try its next number. Bad branches die early, so the search stays small.

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/sudoku-solver there. Sign in with your email to keep your progress on every device.

More bosses

esc