Coding
Can you explain to me how you would calculate the fewest steps a knight needs to move from position A to position B on an infinite chessboard?
Was asked at
More interviews, more skills, more success.
Be the first to share your approach to this question
Interview question asked to Machine Learning Engineers interviewing at Sendbird, Digit, Twitch and others: Can you explain to me how you would calculate the fewest steps a knight needs to move from position A to position B on an infinite chessboard?.