Merge pull request #452 from Chalarangelo/atomiks-patch-1

Add warning to anagrams
This commit is contained in:
Angelos Chalaris
2018-01-01 19:06:08 +02:00
committed by GitHub

View File

@ -1,5 +1,7 @@
### anagrams ### 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). Generates all anagrams of a string (contains duplicates).
Use recursion. Use recursion.