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.
I wonder how it passed tests. Won't pass for 18 and similar cases where you have to get minimum sum.
Also fails on 16 due to there is no checks for zero 🤷🏻♂️
This comment is hidden because it contains spoiler information about the solution
CrazyMerlyn,
I agree. Since I tried to solve it all by myself, I was slightly disappointed to see that lodash is available here. Didn't mean to offend you, sorry.
I don't think that it's fair to use third party library for the binary search implementation.
Clever, but unfair.