You need to sign in or sign up before continuing.×
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.
Why would you even provide a lambda here if you can just return this comparision instead?
This comment is hidden because it contains spoiler information about the solution
Great. Performs for big arrays. And readybility is good too, whenever I prefer a variable like 'offset' for 'i+1'.
This comment is hidden because it contains spoiler information about the solution
Unpublishing due to being a duplicate, missing random tests, and a bunch of long-standing, not fixed issues.
done by B4B ~~
yes
Are numbers starting with '0' are also consider valid, e.g.:
90 ---> 90 or 90 + 09
Very clever, clearly understand the number math of power of 3
Thank you for your nice comment. I appreciate it!
This Kata xD
It sounds easy at the beginning, but then number of exceptions to be taken into consideration is damn high.
Good job on preparing such Kata, there are not many problems (on Codewars) like this one.
It's not ambiguous but merely logical. To take the example from the second example from the description: he eats pills A and B, his friend eats B and C. If both eventually glow, the glowing pill is B. If only his friend glows the pill is C. If he glows and his friend does not, the pill is A. If none of both glows, it is pill D.
I see it now, 100 random tests :)
I know this feeling bro :)
Do you know how many 120x120 tests are out there?
My current solution passes around 40-60. I want to know whether I should look for better algorithm or just optimize it?
Special_Fission = list
Loading more items...