Calculate Delayed Arrival Time solution leetcode

Calculate Delayed Arrival Time User Accepted:11361 User Tried:11507 Total Accepted:12099 Total Submissions:14615 Difficulty:Easy You are given a positive integer arrivalTime denoting the arrival time of a train in hours, and another positive integer delayedTime denoting the amount of delay in hours. Return the time when the train will arrive at the station. Note that the time in this problem is … Read more