All algorithms solved from Hackerrank (Algorithms).