How many moves does a chess knight need between two squares of a fixed-size board — and what if some squares are blocked, or the board is infinite? A Waymo phone screen where you write your own main and tests.
How many moves does a chess knight need between two squares of a fixed-size board — and what if some squares are blocked, or the board is infinite? A Waymo phone screen where you write your own main and tests.
The discussion opens with the full question.