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.
JS
instance.hasOwnProperty(method)
. This is bad practice as methods should be defined on the prototype, not on the instances;Sample tests raise exceptions in
test_functions
(nofunction.func_name
attribute).python at least, but I'd bet on a general problem:
Test.assert_approx_equals
for float values.the test forO(1)
forget_mode
isn't implemented correctly: I see things that are not O(1) at all that are passing the perf test. => needs thousands of different kinds of temperatures too.Correction, seems correct since those things were actually in the insert method, I didn't pay enough attention. Tho, that would need a check, maybe, and that could be interesting to put some restrictions on the insert function too, if the goal is to aim for performances... :/This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution