2577. Minimum Time to Visit a Cell In a Grid | Greedy | DIjkstras | Graph