Leetcode 3342. Find Minimum Time to Reach Last Room II | Hello Interview