Search⌘ K
AI Features

Minimum Knight Moves

Try to solve the Minimum Knight Moves problem.

Statement

You are given two integers x and y representing a target coordinate on an infinite chessboard. A knight starts at ...