I have a chess board N*M. Two "magical" knights are standing in random positions (x1,y1) and (x2,y2). They are magical, because they make moves simultaneously. The question is: "how many moves are required for them to meet (minimal amount)?"
As far as I understood if amount of moves for one knight to get into position of second is odd they won t meet otherwise divide by two the minimal path. But something tells me that I am wrong! Please help!)

Okay, consider simplier task, you have 1 knight standing F5 and second one standing H6. I m trying to make them meet, but it seems like it is impossible, because they are "magical")) Maybe there is a clever combination to make them meet? – Hmmman Jan 30 '19 at 16:24