diff --git a/snippets/anagrams.md b/snippets/anagrams.md index e467d05f9..ae7284a0b 100644 --- a/snippets/anagrams.md +++ b/snippets/anagrams.md @@ -1,5 +1,7 @@ ### anagrams +⚠️ **WARNING**: This function's execution time increases exponentially with each character. Anything more than 8 to 10 characters will cause your browser to hang as it tries to solve all the different combinations. + Generates all anagrams of a string (contains duplicates). Use recursion.