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.
Never mind. I named a function
open
(later renamed toisopen
), which probably overrode the implementation of another function with the same name.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
This comment is hidden because it contains spoiler information about the solution
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.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.
The Go translation is missing the package declaration
Thanks, now it works. They must have added 1.49 recently since I remember that it wasn't even possible to change it from 1.44
On Rust, running tests works but whenever I click on
Attempt
it shows an error message from stderr: