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.
Also, invalid input is not specified to return
-1
. Insufficient availability is different from insufficient funds; it should be specified separately.( eleven languages while in Beta ?!? )
This kata is 3 kyu for a reason.
Your code needs to be optimised. The fact you can't do that is not a fault of the kata.
If by "hacked" you mean a solution will fail on a perverse case, this is not an issue. It's hard enough to pass average cases.
Closing.
I hope that isn't 14 seconds for a single test. There are 100 performance tests ( at least in JS, can't see Python ).
Maybe, maybe not. Maybe it depends on the language as well.
But it's 3kyu now, and after 8 years reranking is probably not gonna happen.
Closing.
Out of interest, how did you update the kata?
If you directly edited it in the kata editor, please know that forking is ( now ) the recommended method.
I updated the description for LC. You may have to fork again. Sorry.
LC translation
Haskell translation
C now has random tests.
Haskell has random tests, and has had them for 8 years.
If you see
property
in Haskell tests, it has random tests.If the background is supposed to be infinite, this should very much be specified.
Loading more items...