Leetcode Minimum Cost Path Gfg