Add Minutes to String Representing Time
You are given a string that represents time in 24-clock format and an integer M representing the number of minutes. Return a string representing the time with the number of minutes M added to it.
Requirements
- Must return a string
Example #1
solve("06:59", 300)
> "11:59"