You are viewing a single comment's thread. Return to all comments →
I think this is more scala-esque than the editorial.
io.Source.stdin.getLines.drop(1).toList .map(_.grouped(2).map(_.reverse).mkString("")) .map(println)
Seems like cookies are disabled on this browser, please enable them to open this website
String-o-Permute
You are viewing a single comment's thread. Return to all comments →
I think this is more scala-esque than the editorial.