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.
Really like this solution! So readeable
Yeah you are right. Edited solution to pass that case.
What if array1 = [0] and array2 = [0] ? This solution returns []. I think it should still return [0].
Empty array should only be returned if both arrays are empty.
nice preserving source array inmutability
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Very clear nad clean, you can understand the code right away :)
I'm happy you liked it :)
simple and clear, clearly understandable thanks!
This comment is hidden because it contains spoiler information about the solution