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.
There are not 32 uppercase letters in the alphabet.
Fixed in latest fork, all above solutions are invalid now.
From the description:
Please mark all your explanations as spoilers because they can be seen on the front page even for people who didn't solve the kata yet.
Fails
x²-1
.Fixed.
Generics cannot take primitives so
Optional<boolean>
is not a thing andOptional<Boolean>
is just well like aBoolean
in the first place.Changed to
null
like said in description.Sample and full test suite are swapped.
Edit: Already present as issue below.
☂️☔🌂
Thank you too.
Done! Thank you for bringing it up.
I think it is easier to just amend the description once that for departure==arrival he still leaves the house to go for a walk than to adjust all random generators of existing translations to not create these cases as they likely don't break current solutions.
This is a great question, I hadn't considered this at all! And as currently implemented, the random tests could generate travels with the same origin and destination, so it is worth considering.
I'm thinking that these represent travels (the wording in the description describes them as such) and therefore if you travel from home to home, you still wander outside for a bit, potentially get rained on, then come back. But this is a bit lawyer-y.
We could also say "no location will be the same as the current location" in the description, and amend the random tests so that it is true.
What do you think?
Check out the Python docs, especially the "Important warning!"
Added to JS, Java, and Python.
Loading more items...