You are viewing a single comment's thread. Return to all comments →
str.grouped(2).foldLeft("")((a,b) => a + b.reverse)
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 →
str.grouped(2).foldLeft("")((a,b) => a + b.reverse)