2577. Minimum Time to Visit a Cell In a Grid - Explanation

Problem Link