C++ Solution
Complexity\n- Time complexity:\nO(1)\n\n- Space complexity:\nO(1)\n\n# Code\n\nclass Solution {\npublic:\n    int findDelayedArrivalTime(int arrivalTime, int de
# Complexity\n- Time complexity:\nO(1)\n\n- Space complexity:\nO(1)\n\n# Code\n```\nclass Solution {\npublic:\n    int findDelayedArrivalTime(int arrivalTime, int delayedTime) {\n        int total = arrivalTime + delayedTime;\n        if(total<24){\n            return total;\n        }else{\n            return total - 24;\n        }\n    }\n};\n```
['C++']