My solutions to HackerRank in Python and C++