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.
Yeah your's looks pretty good. Thanks for sharing.
Same here, tryed to figure out the formula and the example numbers don't match
Same here, I literally copied this solution and it still doesn't pass the big numbers test
This comment is hidden because it contains spoiler information about the solution
with complexity O(n) this should be the best practices, thanks for sharing it in the comments