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.
Doesn not work correctly for numbers over 18 digits.
Example
This comment is hidden because it contains spoiler information about the solution
that should be ilegal LMAO
Insightful! 🏆
ahhhh that fixed it! Thanks!
You should know,
apple
is an 2D array. So, if you modified the second linej <= apple[0].length
, and then your code will work correct ;-)I can't test it, because CW's server doesn't work now.
EDIT:
++i
and++j
may bei++
andj++
, and<=
may be<
EDIT: If you use
++i
and<=
, wheni==apple.length
,apple[i] == undefined
, and thenapple[i][j]
will got an error.This comment is hidden because it contains spoiler information about the solution
Can you paste you code here? and mark it as having spoiler content.
code works for basic tests and the first few hidden tests, then I get Expected: [1,4], instead got: undefined on I think the 7th test of the 100 random tests. Is this an issue with the test or with my code? Is it not passing a valid array? Do we need to account for that?
This comment is hidden because it contains spoiler information about the solution
sorry, I wasn't on when the issue was raised if it's still a problem please let me know :)
It's working now, thanks!
I deployed the fix! Please let me know if everything's fine now.
Sorry for the Inconveniences Caused.
Guys I'm sorry the person who created those Reinforcement Test Cases is not responding :/
I'll try to add a new version of Reinforcement Test Cases but I don't think that's possible because that kata is already approved and many users have solved it.
Attaching the following link for your reference :
https://www.codewars.com/kumite/579d80d97cb1f385ed000231
Loading more items...