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.
6 languages, almost 600 solutions, too late to make such breaking changes
Approved
python new test framework is required. updated in this fork
C translation (author inactive)
PHP Translation available for review. TY for the Kata :)
Ruby 3.0 should be enabled.
Changed it so each dimension is at least 1
python translation:
https://www.codewars.com/kumite/5e92e10e1608730023e1b0d5?sel=5e92e10e1608730023e1b0d5
Random tests can generate zeroes for any dimension, is that ok?
This comment is hidden because it contains spoiler information about the solution
Yes, that is intended. Empty lists ( empty strings ) are perfectly legal and should be handled.
In fact, there should really be a fixed test with an empty string; testing solution behaviour for that input should not be left to the vagaries of a random generator.
This is my first bit of discourse so forgive me if I've not done this correctly.
Is it intended that the Python random tests sometimes test against an empty string?
Fixed in ruby, too
Loading more items...