Why is Dijkstra giving a better answer compared to A* in this LeetCode question? I am solving the question of shortest path in binary matrix. Ques_Link