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.
How can I handle the 1-based indexing? The second element of the position list has to be the first on the leaderboard, and the 500th element must be the 501st on the list but there can only be 500 in the list? I don't see any way around this
The test cases definitely have a bug. I run the same code on my IDE and get a different answer. My code gives a page count of 3 for the basic test case, but this kata returns 2.0. Not sure how this is happening, but there's definitely a bug in the test code