Fundamentals
/
Knight Minimum Moves
⏸
00:00
↻
← Prev
Next →
▶
Question
A knight starts at (0, 0) on an infinite chessboard. Given target coordinates [x, y], return the minimum number of knight moves to reach the target.
▶
Understand
▶
Approach
▶
My Code
▶
Reference Solution
Compare
10