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.
The function signature of the starter code shows that it expects
Option<(u64, u32)>
. To keep the description clean and easily maintainable, a lot of language-specific features are either inferred from the description or gleaned from the starter code or sample tests. All languages share the same description, the only way around it is to have a very long description that specifies everything for every language or to use a somewhat clunky method of showing different text blocks for different languages, which is a headache for kata authors to maintain. In this case, I think the function signature should be enough to let you know what you're supposed to return.