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.
Description copied from kata; added typescript codeblocks.
yeah, python IS fucking slow compared to JS. You need to keep the general structure, then find the input caractéristics that makes the tests perform the same in python (durations), checking that the O(n²) solution still times out by a fair amount.
Better to have a bit less tests with bigger inputs than the opposite, generally.
Make the tests smaller, if python is too slow :)
you're lucky I saw your message on the dashboard... (mentionning an user does not work on CW)
well, first things first:
For example.