Find Minimum Time to Reach Last Room II — CaffeCode