Solutions for HackerRank challenges using Scala.