We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
What if on a 3x3 grid without any 'x' and source = (0,0) dst=(1,1)..
We can never reach 1,1 because every move will lead to a corner of 3x3 grid.
Description is either incomplete or completely wrong ?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Castle on the Grid
You are viewing a single comment's thread. Return to all comments →
What if on a 3x3 grid without any 'x' and source = (0,0) dst=(1,1).. We can never reach 1,1 because every move will lead to a corner of 3x3 grid. Description is either incomplete or completely wrong ?