hacker_rank solutions