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.
I have this tingling sense telling me that the same message could be carried with a bit milder, less explicit wording. You are strongly encouraged to try next time, would you.
This comment has been reported as abusive
I find the description to be nasty. It reads as if the first part of that condition is a given and we should only check that second part.
No, it's not. It's been solved more than 25k times already. If you don't understand something just ask a question, or read the posts below.
The description is just ambiguous...
Khabi lame vibes here lol
This comment is hidden because it contains spoiler information about the solution
Please post your current solution here and mark it as a spoiler so we can see where the problem is, thanks :-)
you can directly return
$words1 == $words2
and it would work just fine:return $words1 == $words2
My code works just fine except for one really annoying exception:
Failed asserting that 'InvalidArgumentException' is thrown... this is just so annoying knowing 100% that i did throw an instance of 'InvalidArgumentException' in my code...
why would you add a
<br>
?instead of writing a callback in
array_map
, you could just write'min'
and it should work perfectlyindeed! thank you for pointing out this issue!
checkout this solution, it should work with the case you specified!
https://www.codewars.com/kata/reviews/57cb045535ef62f92d0000f1/groups/6124fff7363c66000153b454
thank you again!
that's hilarious lol
why would you add numbers to sort it? just use indexes :/
Loading more items...