added example tests.
Example tests, no. There aren't any. Submit tests, yes. All four fixed ones of them ..
hah! Sorry, I had "console.log(count)" in my code because I was checking the output after every loop. Looks like I left it in there by accident. Submitted it now and there was no problem.
I think the math on this one is higher than level 7 kata
I guess that you got an infinite loop, please check your code or paste it here and mark as having spoiler content, thanks ;-)
And, this should be a question, not an issue ;-)
Hello, I've not failed any tests. Yet it says this:
Max Buffer reached: Too much information has been written to stdout.
Process exited prematurally with a SIGKILL signal.
Does anyone know what this means?
It wouldn't let me use reduce either. Instead I had to sum the values of the array using another for loop. Try that and it will pass.
This comment is hidden because it contains spoiler information about the solution
I thought the same thing!!
Can someone show me how to solve this recursively?