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.
expected: [true, "9", 8, "8", "8", nil, 1, 6, "2", 7, 3, nil, 5, true, nil, "1", "1", "0", "8", "1", 2, "5", "8", [], 0, 0]
does the test includes other data types?
This comment is hidden because it contains spoiler information about the solution
Groovy Translation
Lua translation!
The C# Tests assert the whole List including the order. Please Fix (:
Scala translation
Groovy Translation
Shell fork for adding random tests. Fixes (partially) this issue
Python: Dogshit assertion messages. Failing a single test should not, in fact, overflow the buffer without giving any helpful feedback to the user.
Should provide minimal (potentially truncated in case they are large) diffs instead.
In C++ both Sample and Full Tests have
in them. Please, don't do this.
Java Translation
Lua translation!
Please, add to instruction of this kata: "Should do more perfomance solution".
I wrote first alhorithm on JavaScript and got timeout. I do more optimization, but got timeout again at N=10. Then put to trash old code and make new faster up to 1000% alhorithm. He has also exponential time from N, but it pass all test.
C translation
(author is gone)
First kata to
#include <sqlite3.h>
:pThe requirements that methods ought to be non-configurable and that
.delete()
"should have the same return values as thedelete
builtin" are senseless.It adds nothing to the task and it prevents more modern code using classes to be used, since class methods are configurable. Moreover, the return value of the
delete
operator is mostly useless anyways (deleting a property that does not exist yieldstrue
...) and depends on whether you are in strict mode or not.These requirements should be dropped.
Loading more items...