Leetcode 3650. Minimum Cost Path with Edge Reversals | Hello Interview