I have to find shortest path in a grid having obstacles to a known destination on a grid.
i want to use Dijkstra’s algorithm for finding path. I have stored the node values in a 2D matrix.
eg.
I’m not sure what level of help you are looking for, but your “please help” request is really broad. Can you narrow things down by asking more specific questions? I’m happy to help you understand things better, but I’m not willing to write your program for you.