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.
BTW the testing using list.sort() for the answers that is not fast (O(n log n)).
"Set" can be faster.
How many tests needs to passed right now?
There's no any speed limitation in the task, so IMO solution overtesting is excessive.
How many final random test needed?
I've reached about 350 passed tests (*3 calls), but still got message:"Process was terminated. It took longer than 12000ms to complete".
Optimization is good, but maybe about 10 tests will be enought?
PS I'm using Python 3