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 - 10 years, 5 months ago
Python
reply permalink
Anonymous - 10 years, 5 months ago
pretty simple in haskell:
reply permalink
bumbleguppy - 10 years, 5 months ago
javascript doesn't have a built-in shuffle, but I did steal David's sentence :-)
reply permalink
Driphter - 10 years, 5 months ago
Clojure:
reply permalink
Emre Ozdemir - 10 years, 5 months ago
Solution in C++. Sadly only works with words.
reply permalink