An anagram is a word or phrase made by using the letters of another word or phrase in a different order.
Given a file words.json
containing set of words, print out all the combinations of words that are anagrams. Each line in the output contains all the words from the input that are anagrams of each other. Example output of your program:
kinship pinkish
enlist inlets listen silent
boaster boaters borates
fresher refresh
sinks skins
- Approach this problem any way you like, use any language/library/framework you see fit
- You will not be judged on whether you finish or not. We would much rather you give us a solution you are proud of and feel best displays the type of code you want to ship to production.