Shortest Path LeetCode 1810. Minimum Path Cost in a Hidden Grid Solution in Java, C++, Python & JavaScript | Explanation + Code CoderIndeed June 22, 2026