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.
sometimes one wonders what occurs within their own skull...
This is indeed best practice.
I don't think that requirement should exist to begin with. The original kata language is js so it's probably the usual fascination with coercion. If original language was java it would have been a method in a class instead.
It normally shouldn't. I assume that tests are weak, but I also don't understand the need for validating input. xD
Python:
Random tests never generate invalid cases, this makes hard-coding fixed tests possible for such cases
love switch!
Should
"A۱"
count as"A1"
? I see some python solutions that convert the second character to int, and"۱"
converts to 1Of course, the invalid input requirement is dumb, especially non-strings or strings that don't describe a location in a coordinate system. But if you're gonna have it...
Not sure which language you use but in JS it is not expecting an empty array.
This is the test:
best practice)
Wonderfull kata, I enjoyed it a lot
Ruby version: Had to
require 'set'
in order to make the test framework work.Approved
python new test framework
for input A1 the test expects an output of [] ???? why ???
i dont understand. when i test my solution it gives me an error but with no specification at all. however when i use vscode, my code works fine. i wonder if it's because i used the numpy library... but the output has to be a 2D array so i dont get it.
Paste into your IDE and find out
Loading more items...