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 comment is hidden because it contains spoiler information about the solution
dude this is baller
IDK, but i like it)
For such a short string is not something to bother about, and it feels cleaner for this specific problem
exactly my thoughts!
So short
How did you do that bruh in a single line!
negative numbers dont equal 0 so this works
using break is ugly
No, it will return 0.
What if you pass an empty string? it will return error
This comment is hidden because it contains spoiler information about the solution
Yes,m that's less typing, but it seems bad practice to me. As mentioned above, it's not the same as floor. And even if it works in this situation it makes the code harder to maintain and less reusable.
Very impactful.
This is insightful
Loading more items...