It has been proven that we can read words where the first and last letters are in the correct position and the inner letters have been shuffled around. Your goal today is to create a program that takes in some text and shuffles the inner letters. For example: could -> cuold.
Comments:
David - 12 years ago
Python
reply permalink
Anonymous - 12 years ago
pretty simple in haskell:
reply permalink
bumbleguppy - 12 years ago
javascript doesn't have a built-in shuffle, but I did steal David's sentence :-)
reply permalink
Driphter - 12 years ago
Clojure:
reply permalink
Emre Ozdemir - 12 years ago
Solution in C++. Sadly only works with words.
reply permalink