Leetcode 2304. Minimum Path Cost in a Grid | Hello Interview