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.
Not even a flex since returning 0 is an incorrect response if a string '3' were supplied. The robustness of this code is an illusion.
when you are paid hourly and this is your only task
LMFAO here i was thinking it was a trick question or something, and i wanted to try just this. easiest 5th kyu in existance HAHAHA
it's very conventient once you wrap your head around it and will trivialize a lot of problems
why flex on a lv 8 kata .-.
10/10
ong, i didn't know that thing existed
Using loops hurts my brain less, I'm still trying to wrap my head around streams
The ball no matter downward or updward trajectory, must go past the observer height to count. Strictly greater than.
you used stream because it looks cool, i used stream because i'm too lazy to type a loop solution.
we are not the same.
can't fully understand the math logic of this one, is this from a mathematical formula? if so, which?
For some reason if the ball bounces to the window height, it doesn't count. It's a bit confusing due to the description of the kata, but otherwise this is a pretty fun and easy kata.
good catch, wish i had done that in my solution
I don't understand the point of the map, it's completely pointless.
nice use of calculus, didn't even think of that! ultimately i think that even tho using intStream is more legible and makes it easier to understand, this is a much more elegant solution.
Loading more items...