Some source code from the https://www.hackerrank.com/ website