2651. Calculate Delayed Arrival Time ¶ Time: $O(1)$ Space: $O(1)$ C++JavaPython 1 2 3 4 5 6class Solution { public: int findDelayedArrivalTime(int arrivalTime, int delayedTime) { return (arrivalTime + delayedTime) % 24; } }; 1 2 3 4 5class Solution { public int findDelayedArrivalTime(int arrivalTime, int delayedTime) { return (arrivalTime + delayedTime) % 24; } } 1 2 3class Solution: def findDelayedArrivalTime(self, arrivalTime: int, delayedTime: int) -> int: return (arrivalTime + delayedTime) % 24