AlgoCasts icon indicating copy to clipboard operation
AlgoCasts copied to clipboard

anagrams edge cases

Open iampeternguyen opened this issue 3 years ago • 0 comments

I forgot to put the global tag in my regex replace, and the tests still passed, but the example test in the description doesn't.

anagrams('RAIL! SAFETY!', 'fairy tales') --> True

Maybe add this in the test as well just to make sure all edge cases are covered.

iampeternguyen avatar Jul 18 '21 03:07 iampeternguyen