Given an infinite chessboard, find shortest distance for a knight to move from position A to position B.

Free for the first 3 answer contributors

Interview question asked to Data Scientists interviewing at Indeed.com, Novartis, Stack Overflow and others: Given an infinite chessboard, find shortest distance for a knight to move from position A to position B..