Coding
Can you give me the simplest way to find the shortest distance for a knight to move from A to B on an infinite chessboard?
Machine Learning Engineer
Meta
Amazon
ByteDance
Lyft
Evernote
Interview question asked to Machine Learning Engineers interviewing at LiveRamp, Coursera, Evernote and others: Can you give me the simplest way to find the shortest distance for a knight to move from A to B on an infinite chessboard?.