Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination.

https://en.wikipedia.org/wiki/Chess#Movement

For simplicity, numerical notation is used to represent the positions.

Solution Stats

128 Solutions

55 Solvers

Last Solution submitted on Jan 12, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...