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.
Yes, it was probably that one.
open ^^
Never mind. I named a function
open
(later renamed toisopen
), which probably overrode the implementation of another function with the same name.I can't reproduce your described behavior with neither the sample tests nor the submission tests. Make sure you have the latest version of the tests by pressing the
RESET
button.The current C translation of this kata gives the following error when I try to run the tests. I believe it is caused by a wrong test/library setup.
This comment is hidden because it contains spoiler information about the solution
97 is considered a decreasing number when considering numbers less than 1000, say.
This comment is hidden because it contains spoiler information about the solution
how?
This comment is hidden because it contains spoiler information about the solution
In Go, there is a pointless type
MyString
which is just an alias to the primitive typestring
. This even turned against the person who wrote tests, because instead ofIsUpperCase("...")
, he/she had to writeMyString("...").IsUpperCase
, which is longer and less convenient. I don't see anything useful in this decision.Done
https://web.archive.org/web/20220614001843/https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-11.html#%_sec_1.2.4
This link leads to a page not found error. Please update it.
My Go code works fine, it has a time complexity of O(n^2) (which is the best I could do) and passes the basic cases but times out when trying to submit. Quite frustrating.
Edit: I optimized the code which now is O(nlogn) I think. It works and passes all the submit tests in less than 2000 ms.
Loading more items...