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.
Before that part of the text:
You need to take the solution with largest possible value for numbers with multiple possibilities
Now, back to what you asked
Since
[1,2,4,10]
has10
which is bigger than all of the numbers in[2,6,9]
, you should return[1,2,4,10]
instead."onone"
is not the input there, it's your incorrect returned value. The input was"OnOne"
.