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.
good answer with readable solution.
This should be 7 kyu since it requires knowledge of more than 1 method.
In Crystal the method name should be distance_between_points (snake case) not distanceBetweenPoints (camel case). Changing it will make it impossible to pass the final tests.
Haskell translation
oops, added in JS rn
(Not yet in JS)
Such tests are now added, thanks for pointing that out :)
fixed in all remaining languages, resolved
Fixed in Ruby, still missing such tests in JS & Python
Fixed in your fork
Approved
Ruby fork which upgrades the code to MRI 3.0.0 + fixes the issues below (assisted with Katafix)
Seems like to be a bug on your side OR the code indeed had the bug but got fixed
anyways, couldn't replicate that error for now
Ruby has outdated version of MRI, it's needed to be updated to 3.0.0, as well as the testing framework to the recent one
On top of the existing issue, the tests don't include such testcases as:
0x
,0o
,0b
);Loading more items...