Skip to content

nmajor/sc-anagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sc-anagram

Anagram coding exercise I prepared for Utah Software Craftsmanship meetup

This is my sample code for the coding exercise. You can read more about it on my blog

Exercise: Write a program that will generate all of the possible anagrams for the word "documenting"

Stage 1: All partial anagrams found in the word "documenting"

example output:
coed 
cog 
cogent 
coin
...

Stage 2: All full 2 word anagrams using the word "documenting"

example output:
conduit gem
conduit meg
count midge
...

Stage 3: All full 2 word anagrams from a user inputted word.

example input: 
encyclopedia

example output:
cyanide lop 
decoy plain 
police andy 
ponce lydia
...

About

Anagram coding exercise for Utah Software Craftsmanship meetup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages