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.
push
is specified correctly, after that's, it's just a name. "push" is not even the only misname in there. but I don't think any of this is going to be changed now.Closing.
but you want it to last longer :)
This comment is hidden because it contains spoiler information about the solution
Personally, I believe that the .union(arr2) is incredibly useful here. Wish you nothing but the best. hugs and kisses xox
I feel like the intent of katas like these are to challenge us NOT to rely on built-ins and really think about how to replicate the behavior of the built-in method. shrug
Agree
Please stop arguing guys. All those solutions are bad, yours and mine too. We parse twice the array while it would be so easy with only one pass.
@WloHu list comprehension is an important thing to learn for python newbies. And your solution actualy IS shit
This comment is hidden because it contains spoiler information about the solution
How can you check the speed?
isslice returns a generator, so I think he/she is just trying to avoid creating a whole second array starting at index 1 for zip. Its a small optimization but pretty cool.
lol
It's called python 2
This comment is hidden because it contains spoiler information about the solution
Loading more items...