Not understanding the solution.
problem link : ABCPATH solution link : Solution Not understanding why the two const int arrays dx,dy are taken and also preempted with certain specific values(0,-1,1).