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.
Friggen Ninja
Instructions: "Please keep in mind that the test cases ensure that the number of people in the bus is always >= 0".
How is it correct? It is definitely wrong since it can return negative value of passengers.
I did the same, but using parallelStream
that's impressive
Perhaps it's because of mathematical naming of lambda parameters that they look so misterious: https://www.codewars.com/kata/reviews/5649abe5039359b3d400003a/groups/58c045392f25745e8a002db1
hmmm lambda! i see those everwhere, yet they are so mysterious :p
clojure.set wasn't working for me in this kata. I had a exception when tried to require it
clojure.set is not available?
It's sad that majority of examples are through using Standard API not as mathematical solution for a problem...