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.
Hmm, I don't understand how inp can be in scope in the definition of ret.
Please adjust the Python test cases to include false positives that span 2 consecutive words in array2 to prevent solutions that involve "".join(array2)
This is not correct. It will give false positives, for example if array1 = ["abc"] and array2 = ["cab", "cat"], r will be ["abc"] but should be []. Nice approach otherwise.
又一个