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.
Lua translation!
Scala translation
The override on
runTests
is largely required if you want nice output along with only running the last test when all others are green.This comment is hidden because it contains spoiler information about the solution
Python initial solution:
typing.List
(along withtyping.Set, typing.Tuple ...
) are deprecated since Python 3.9. Most built-in types likelist
now directly support type hints:files: list[str]
This comment is hidden because it contains spoiler information about the solution
python new test framework is required. updated in this fork
This comment is hidden because it contains spoiler information about the solution
Scala translation
Anyone have any advice on how to pass the "testRandomTrees" test case ?
hitting error: arrays first differed at element [2]; expected:<8382> but was:<308679>
Not sure how to go about it. Or if anyone had similar issues.
Rust translation
TypeScript translation (based on existing Java Translation)
C and NASM translations
Shouldn't T(3) = [000, 001, 010, 011, 111, 110, 101, 100] instead of T(3) = [000, 001, 011, 010, 110, 111, 101, 100] ? Usually you write out bits in increasing order. Can some one explain to me in what order bits are written out in this kata ?
Duplicate: https://www.codewars.com/kata/5ff11422d118f10008d988ea
Please review: C++ Translation
Loading more items...