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.
This comment is hidden because it contains spoiler information about the solution
The problem here is if a1 has whitespaces in the string, like this:
a2=['testA', 'testB'] , a1 = [' te','st']
We are looking for ' te' and not 'te', none of the a2 elements have ' te', but when joining a2 with ' ', this pattern appears (testA testB) given an incorrect result
No, it returns a blank array as expected..