Shortest Path LeetCode 2473. Minimum Cost to Buy Apples Solution in Java, C++, Python & Go | Explanation + Code CoderIndeed July 15, 2026