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'm confused at the example and how the function returns 22 for dbl_linear(10).
I don't think I'm understanding the task correctly particularly where it asks for "of the ordered (with <) sequence u".
Can someone please help me understand what I'm supposed to be doing and how the function returns 22 for an input of 10.
Thanks in advance
This comment is hidden because it contains spoiler information about the solution
Duh! Nice one.