Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find all the anagrams of a word
ResourceFunction["Anagrams"][string] finds all the anagrams of string. |
Find an anagram of "feel":
In[1]:= | ![]() |
Out[1]= | ![]() |
Some words have many anagrams:
In[2]:= | ![]() |
Out[2]= | ![]() |
The anagrams returned by Anagrams all satisfy AnagramQ:
In[3]:= | ![]() |
Out[3]= | ![]() |
In[4]:= | ![]() |
Out[4]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License