Hackerrank - String-o-Permute

Hackerrank - Problem Statement

A description of the problem can be found on Hackerrank.

Solution

For every input line:

  • divide into character pairs
  • reverse order of characters
  • concat the pairs it into the one string

I created solution in:

All solutions are also available on my GitHub.

Scala

Leave a Reply