So, to be clear what you mean to say is: if you use the test example I showed you on your machine, your code returns 7, but the exact same code returns -1 on Codewars?
I said the same. In my machine, I am getting the same answer what the Kata is expecting but when I run in CW, it is failing. Did you tried to run any existing working solution.
OP solved it, closing
OP solved it, closing
OP solved it, closing
This comment is hidden because it contains spoiler information about the solution
As many said, nothing make sense especially to return values result as array of arrays.
Tricky, but enjoy a lot solve this Kata. Thanks everyone who contributed to it.
Nice kata to cover the overlap conncept, little harder than regular 7KYU.
Nice Kata, really enjoyed solving this. Thanks to everyone who contributed to it.
This comment is hidden because it contains spoiler information about the solution
So, to be clear what you mean to say is: if you use the test example I showed you on
your machine
, your code returns7
, but the exact same code returns-1
on Codewars?I said the same. In my machine, I am getting the same answer what the Kata is expecting but when I run in CW, it is failing. Did you tried to run any existing working solution.
What you really need to do is take the input from a failed test and put that in
your machine
, for example (you can easily see this is a correct test):...from there you have a means to debug.
In the future, only post as an
issue
is you can prove a problem with the kata, otherwise post as aquestion
.This comment is hidden because it contains spoiler information about the solution
Nice kata, even though the rating is low on.
Good Kata, but needs lot of typing to accomodate all the conditions :(.
Loading more items...