http://www.perlmonks.org?node_id=466104


in reply to Word Seek

using a bit vector to store the solution would be more efficient ;-)