Crate anagram[][src]

Functions

count

Count the number of anagrams that can be formed from a word

get_next

Get the next lexicographically greater permutation This function will return either the next greater permutation or the lexicographically smallest permutation if the given word is the lexicographically greatest permutation Examples: “abc” -> “acb” “cba” -> “abc”

is_anagram

Check if a word is an anagram of another word

occurences

Count the number of occurences of an anagram in a word