Back to the Problem
Convert to total minutes, add K, reduce modulo 1440, convert back.
Complexity: O(1)