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.
Same here. Never new BigInteger is a thing
Retired as a duplicate.
This comment is hidden because it contains spoiler information about the solution
very concise 😀👍. It never crossed my mind.
are u ok?
One of the random tests had "damaged: False" as an item of a dictionary from the list you use as the argument for the function.
How come? The description clearly states:
"If an arrow in the quiver does not have a damaged status, it means it's new."
So, that means that a new arrow should NOT have the "damaged" key in the first place. Please, fix that.
So simply and succinctly
Even though I also consider this as clever, wouldn't this be best practice (or maybe better practice)?
Approved by a roaming mod
This fork updates JavaScript to Node 18
This comment is hidden because it contains spoiler information about the solution
wouldn't a match be preferable in this case?
me too
If the Kata supplied floats, then this would have been invalid. But it doesn't.
Понравилось задание! Интересное и решилось достаточно просто. Нужно не забыть о том, что список может быть пустым и добавить такое условие.
Loading more items...