http://www.nxcoding.com/archives/leetcode-daily-3341-minimum-time-to-reach-last-room-bfs