You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The program asks for number of moves required to move box from x,y to x1,y1 if rabbit can only pull it if the rabbit is one unit away from the box.
The rabbit can start at any posistion.
The ending position of rabbit does not matther.
if destination x1, y2, is vertically or horizontally aligned with the source (x, y) then we can just print the difference from source to destination.
else we can print the distance from source to destination + 2