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.
This comment is hidden because it contains spoiler information about the solution
What happens, when n exceeds the size of p?
Hey dear wyatt00.
I've translated this kata to Java. Could you please just check if I've put the right test cases in correct slots. I've written in sample test cases box the one's the user sees while writing the solution and in (regular) test cases box the ones that are called when the user clicks the submit button, tho I might have mixed them up. I've also added some time constraints because I think the 10 seconds (or 16 in case of Java) may be enough to brute force it.
Anyways, cheers!