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 […]

Hackerrank – Simple Array Sum

Problem Statement A description of the problem can be found on Hackerrank. Solution As this challenge is in Warmup subdomain, solution is pretty easy. The only thing to do is to be able to read from input given n times and make sum of all numbers. I created solution in 4 languages: Scala Java JavaScript […]