Feedback for LBJ210 problem

Learning course: Java for problem solving - 1
Problem Link: CodeChef: Practical coding for everyone

Feedback

Kindly check the solution of this problem. WHat about other test cases the answer can not be two in each else case. It should be Math.max(Math.abs(sx-ex) , Math.abs(sy-ey));