✅Simple || Java || easy to understatnd || Beats 100 %✅
Intuitionif we wants to get reach time ,we have to add arrivlal time and delayed time.Approachso, approach was if rreach time exceeds 24 then return reach-24,an
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->
if we wants to get reach time ,we have to add arrivlal time and delayed time.
# Approach
<!-- Describe your approach to solving the problem. -->
so, approach was if rreach time exceeds 24 then return reach-24,and if reach ==24 ,then return 0,means 12:00
# Complexity
- Time complexity:O(n)
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:O(1)
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```java []
class Solution {
    public int findDelayedArrivalTime(int arrivalTime, int delayedTime) {
        if(delayedTime==0){
            return arrivalTime;
        }
        int reach = arrivalTime +delayedTime;
        if(reach == 24){
            return 0;
        }else if(reach>24){
            return reach -24;
        }
        return reach;
    }
}
```
['Java']