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.
Your solution does not fail for 1 and 5, it fails for 0 and 0.
For side=0 and volume=0 expected answer is
false
, but your solution returnstrue
.I will later change error messages so they point out your mistake in a clearer way.
About the other bad kata, did you raise related issues in their discourse and described encountered problems, so we could check them for errors?
Test seems to be broken, returning true for cubeChecker(1,5), but have tested in jsfiddle and my own console...
this is the third kata that seems to be buggy in a row. Might check out different platforms if it continues..
is this thing broken?
I passed the tests. which are all words. but it fails on the random test...
I used a regular expressions to filter the array into blocks if consecutive and single characters if not. so I switched from (/w) to (.) but that doesn't seem to work..
This is diificult. perhaps I am still green idk
This comment is hidden because it contains spoiler information about the solution