Hackerrank – Time Conversion
Problem Statement A description of the problem can be found on Hackerrank. Solution My solution is folllowing: After reading an input line I parsed are necessary values. hours part of the input time from 0th to index of first ‘:’ minutes part of the input time from index of first ‘:’ + 1 to index […]