Given two integer arrays source sr, sc target tr, tc
In one move, a queen can travel any number of squares in a straight line horizontally, vertically, or diagonally.
Return the minimum number of moves required to move the queen from source to target.
Constraints:
source sr, sc
target tr, tc
sr, sc, tr, tc
Given two integer arrays source sr, sc target tr, tc
In one move, a queen can travel any number of squares in a straight line horizontally, vertically, or diagonally.
Return the minimum number of moves required to move the queen from source to target.
Constraints:
source sr, sc
target tr, tc
sr, sc, tr, tc