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.
Wow, new method, thanks!
it says in the description, that second array is always shorter
good way, but
this only works if arr1.length > arr2.length else doesn't work
example:
arr1 = [4, 3, 3, 5], arr2 = [3, 4, 3] ==>> works correctly
arr1 = [4, 3, 3], arr2 = [3, 4, 3, 5] ==>> does not work !
This comment is hidden because it contains spoiler information about the solution
I forgot that method exist, lol.
For better legibility.
wery clewer,good idea!!!
Please, mark your post as having spoiler content next time, it's visible in the home page Discourse if you don't.
This comment is hidden because it contains spoiler information about the solution