Skip to content

Look for anagrams from a set of single words that is fetched from an text file.

Notifications You must be signed in to change notification settings

runlevel5/Anagram-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anagram Solver

Given a file containing one word per line, print out all the combinations of words that are anagrams; each line in the output should contain a set of input words that are anagrams of each other. No word should appear in the output more than once.

For added programming pleasure, find the longest words that are anagrams, and the set of anagrams containing the most words.

The app is tested with Ruby 1.9.3-p194.

Usage

 $ ./run.rb wordlist.txt

Testing

 $ ruby ./spec.rb

Authors

Trung LE [email protected]

About

Look for anagrams from a set of single words that is fetched from an text file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages