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.
That's really good)
Please do not post comments with code or solutions without the spoiler flag, otherwise anyone can see them.
I have added the flag to your comment.
This comment is hidden because it contains spoiler information about the solution
im guessing people just blindly click the upvotes just because its at the top
I've been reading a bit of prototypes but I still don't understand, let me explain
Seeing this solution I understand a bit, but when I want to use this method outside the codewars editor, then I don't know how it works
reverse psychology
him: making the solution longer by adding turnary operator
||||
26 people: C L E V E R
Oh interesting! I like your solution.
some of us havent got to space/time complexity lol
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Would fail on "\n"
I also got stuck on the incorrect wording. I think correct would be simply: "If arr does not contain 5 and 13, function should return: "It's a white array""
I see no fixed test for PHP with input value of
0
and this doesn't seem to generate a0
either:$n = rand(1, 1e6)
are you sure about it?Same problem with PHP
Loading more items...