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.
this called sparring, spar to get better
Wtf? Iv started js week ago, but im just simple dont understand which language thats writted by xd
Added some examples for these cases. (Some solutions are invalidated now)
approved
If the background is supposed to be infinite, this should very much be specified.
hopefully less than 2000 years
in many languages, Boolean values can be treated as integers, with
true
==1
andfalse
==0
Finally, I realize that if the last column is too high for Box Dude to get down, do we just leave him up there? Which is to say, the kata should decide somehow to describe Box Dude's "real world" travel options with absolute clarity especially in regards to the opening and closing columns / steps.
This gives me the notion that the opening column could for sure be empty, so Box Dude doesn't have to step up, or it could have a
1
in the final row, and Box Dude could step up that. Beyond that, I would think any opening column that was not like the two cases I've mentioned should returnFalse
. Otherwise, how did Box Dude just suddenly start out on top of some boxes that are too high for him to have stepped onto?Random Tests are not guaranteed to have an empty opening column, such that my initial solution passed the kata without accounting for such a condition.
fixed, thank you
if there's an
x
in the string, then the input is invalidgood, but if input string have a "x" char this solution doesnt worked.
but then the title of the kata does not make any sense. we can either adapt the tests to the description and title, or the other way around. there are only 3 languages, so i would vote for the former
This is a wording with the kata itself, not the translation, as other languages have same test generation, so it should be
ratio
instead.Loading more items...