Add warning to anagrams

This commit is contained in:
atomiks
2018-01-02 04:04:39 +11:00
committed by GitHub
parent 71927c777f
commit 882e6df799

View File

@ -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.