Some solutions to challenges of HackerRank