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.
For mentioning the previous kata use Markdown to provide a named, clickable link.
Rust tests expect
power_sum_dig_term
whereas the sample function has uppercase characters.This comment is hidden because it contains spoiler information about the solution
( JS )
Random tests don't run because of nested
it
s.ETA: translation doesn't abide by
numDiv < 80
either.python new test framework is required. updated in this fork
add links (to wikipedia) in the description for things like Sturges' rule
python new test framework is required. updated in this fork
Golang. Task: a <= b < c
This comment is hidden because it contains spoiler information about the solution
Tag "dynamic programming" can be added
Ruby:
Fixed tests are not correct.
For example,
Test.assert_equals(dioph_solver(15), [6, [[26, 13, 13], [35, 18, 13]]])
.But it is easy to check that
x = 26
,y = 13
,z = 13
is not a solution of the equation.Random tests also expect incorrect results.
python new test framework is required. updated in this fork
python new test framework is required. updated in this fork
Python: Random tests are vulnerable to input modification
JS (
mocha
+chai
) should be enabledassert.deepEqual
should be usedThe output should be BigInt instead of String for
min
andmax
(invalidating solutions for the sake of consistency is much better than bad output type)Loading more items...