manraj82
manraj82

Reputation: 6305

How do I create a list of all possible anagrams of a word in javascript?

How do I create a list of all possible anagrams of a word in javascript?If this question has already been asked please direct me to the answer?

Thank You

Upvotes: 4

Views: 15216

Answers (1)

Town
Town

Reputation: 14906

Here you go: Anagrams finder in javascript

I'm not sure whether that's the exact same problem as yours, but there look to be a few good solutions in the answers.

EDIT: Actually, this is what you need: Is there any pre-built method for finding all permutations of a given string in JavaScript?

Upvotes: 6

Related Questions