Leetcode 1810. Minimum Path Cost in a Hidden Grid | Hello Interview