Advanced June 06, 2013 Java Program to Find All Anagrams of Word Finding an algorithm to answer this question may seem challenging because finding all the different permutations of a string…