← Amazon questions

Knight shortest path on chessboard

Filed under Amazon · Also reported at PayPal

Given the source and destination coordinates on a standard chessboard, find the minimum number of moves required for a knight to reach the destination.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.