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
This is just a glorified knapsack problem with additional flair wrapping the core task. There are already many published knapsack katas.
Hi,
Cheers
"ascending" sounds like the numbers might have to be unique. "non-descending" would be unambiguous.
( this is very much like how "natural" or "positive" might or might not include zero, but "non-negative" would definitely be unambiguous. )
Please use normal 0-based indexing. Why waste a perfectly good number? Just to try and frustrate your solvers? It adds nothing to the task, and it does detract.
let's name them Jake and Elwood
apparently they've fallen on hard times :P
This comment is hidden because it contains spoiler information about the solution