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.
- Castle on the Grid
- Discussions
Castle on the Grid
Castle on the Grid
Sort by
recency
|
28 Discussions
|
Please Login in order to post a comment
Using C#:
The question says:
But all right answers allow players to stop half way before reaching the end.
It is more than un-clear, it is totally wrong.
Python Solution. BFS.
public static int minimumMoves(List grid, int startX, int startY, int goalX, int goalY) {