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.
What language is failing? I'll look into why it is doing so now.
Nevermind It was just timing out from my network connection, I think. I got it now.
I ran the suggested very hard code on my machine and it took about 1300ms on average to complete with my solution.
Are there some test cases I can see that are nearly impossible?
I can't get past the time out but I feel it is impossible to tell where my code is innefficient on the two base tests.
The server is not accepting my edits. It keeps timing out. will keep you posted
I added random tests. Hopefully no one gets invalidated that shouldn't!
I was doing 2^n-1 and forgot that is not always prime... will fix now
I approved. Tested the code. Thanks for the edits on grammar! (That is by far my weakest trait)
The name of the function has been changed according to an issue raised. It is now
fizzbuzzPlusPlus
notfizzbuzz_plusplus
in Javascript.The numbers in the input are not to be sorted. perhaps think of the inputs as keys and values of a dictionary, where the output is a sorted counted list.
Added. I think there are enough random tests to catch hacks, but few enough to not stdout overflow (Had that problem earlier). Let me know if there are any issues
Ah but, who has said that terse is the key to everything? Is it not also a factor in readability?
fixed. thanks for the link as well!
There aren't any tests. No given function to fill out and the directions are ambiguous. This needs to be redone.
I was able to submit with both Python and JS. Please let me know if the problem persists.
I chose too big of numbers to test. I will fix it now.
Loading more items...