C++ | Simple 0 ms 1 line solution beats the submitted solutions 100% in runtime and 90% in memory
IntuitionFind the remainder when the sum of arrival time and delayed time is divided by 24.ApproachCompute the sum of arrival time and delayed time and then com
# Intuition
Find the remainder when the sum of arrival time and delayed time is divided by 24.

# Approach
Compute the sum of arrival time and delayed time and then compute the remainder when this sum is divided by 24.

# Complexity
- Time complexity: $$O(1)$$

- Space complexity: $$O(1)$$

# Code
```cpp []
class Solution {
public:
    int findDelayedArrivalTime(int arrivalTime, int delayedTime) {
        return (arrivalTime + delayedTime) % 24;
    }
};
```
['C++']