Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
great...it will not mutate the array
this solution will fail eg. at any of following characters after # : '"+-~ˇ^˘°˛`˙´!%=()*>;[]íłŁ$ߤ÷Í€Ä|<>&@{}
1246785553332111 95442433211
Expected: 1, instead got: 2
Question: Why only one expected?????
For others who had the same issue like me:
YOU DO NOT HAVE TO COUNT THE MATCHES, JUST RETURN 1 IF YOU FIND A MATCH!