Superjump in a grid

Problem Name:
Superjump in a grid
Site:HackerEarth
Links:
Tags:
Problem setters: