first round of hackerrank solutions