Solutions to HackerRank at www.hackerrank.com