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.
This comment is hidden because it contains spoiler information about the solution
Trailing spaces or newlines?
This comment is hidden because it contains spoiler information about the solution
OK, a corrected version:
At least in JS, there are random tests with equal powers of 2, but not fixed tests, so some solutions pass/fail randomly: https://www.codewars.com/kata/reviews/65fda27e7706f30001005289/groups/65fded8457815d00011f4a6e
At least in JS, there are random tests with
a == b
, but not fixed tests, so some solutions pass/fail randomly.if
data TreeNode = Node TreeNode Int TreeNode | Leaf Int | None
, what isNode None x None
supposed to represent, isn't it the same thing asLeaf x
?..Since the length is always 3, the input in Rust probably should be
[u8; 3]
. And probablyconst char group[3]
in C as well, although in C it's less significant.It looks like NULL + Completed is counted as completed?
The number of tests in Python is significantly different from that in JS. Uncached DP passes in JS, but not in Python. Is it expected to pass or not?
At least in Rust: missing an edge case test with an empty slice.
I don't know if it has any benefits in this environment, I just don't like when every solution on a solution page or anywhere else has the same lines, they seem useless.
Is there any advantage in wrapping a solution in a
module
in Julia?There are sequences with duplicate items in the same sequence, so the sequences are not ascending.
Loading more items...