Some solved questions of hackerrank