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.
Well, you reached 2 kyu, hopes that I can reach it too.
This is contrary to the spirit of the problem.
Good practice is to add spaces between concatenation.
Sets, like dictionaries, cannot contain duplicate values
set() function removes duplicate from the list and also make the list unordered, whileas sorted() will sort the list by numerical order
very helpful
EDIT: apparently nothing, which just makes it more interesting
Try and see.
what happens if you leave out set?
Really neat solution
thanks a lot!
1 kyu.....Respects!
i hope i reach there someday:_)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
No. Your solution is not O(len(arr1) + len(arr2)).
For faster - O(len(arr1) + len(arr2)) - solution, you could see mine.
Yes, sorry, it should have been a suggestion - I'm new to Codewars and will try to remember that next time. Thanks for the reply!
This comment is hidden because it contains spoiler information about the solution
Loading more items...