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.
Same. Cannot solve this.
Don't use global variables.
Okay, so a couple of things: there are no 30000 tests. there are ~120 tests only.
Your solution makes the test suite confused. As much as I see, it's because of the array parameter which you pass from function to function and mutate on the way, and the array grows, and grows, and then test suite performs assertions on it, and...
Once you get rid of array parameter in your top level function, things should work.
At least that's what I think that happens. That;s what you get for using JS, sorry.
This comment is hidden because it contains spoiler information about the solution
Then it's interesting, because I had no such problem. Maybe you could share your code so we could take a look?
I removed all my console debug outputs. Doesn't change the outcome.
Language is Javascript
For noobs: https://www.youtube.com/watch?v=Wim9WJeDTHQ :P
I solved the kata in JS without any problem. You need to reduce amount of printing in your solution (or, preferably, remove all of it).
I still do not know what;s so special about
277777788888899
tho.What language?
STDERR
Max Buffer Size Reached (1.5 MiB)
Is it just me, or are there too many tests on this kata?
The problem itself isn't really a problem since it is already solved by https://www.codewars.com/kata/55bf01e5a717a0d57e0000ec with some minor tweaks.
But i constantly run into Exit Code: 137
Some additional information :
Time: 2972ms Passed: 30468 Failed: 0 Exit Code: 137
Could somebody tell me what's wrong?