Leetcode 1631. Path With Minimum Effort | Hello Interview