Time String

September 6, 2019 ยท View on GitHub

Rules

Implement the SumOfTimes method which takes a list of strings (minutes and seconds) and returns the sum of the times (hours, minutes, and seconds) as a single string.

Example:

  • Input: "12:32 34:01 15:23 9:27 55:22 25:56"
  • Output: "2:32:41"

Languages

More Katas