Anagram calculator.
Permutations generator.

Find all anagrams/permutations of given string.

Signed-off-by: Abhijit Kumar <abhikumar@manh.com>
Solution to programming puzzle:
Given two words, determine if the first word, or any anagram of it, appears in consecutive characters of the second word. For instance, tea appears as an anagram in the last three letters of slate, but let does not appear as an anagram in actor even though all the letters of let appear in slate.

Return the anagram of the first word that has appeared in the second word.

Signed-off-by: Abhijit Kumar <abhikumar@manh.com>