solutions for hacker rank individual or contest problems