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.
Input range should be mentioned: this kata is very performance heavy. Even the random tests only goes up to 20 elements. This information will be important to solvers.
Kata testing is seriously flawed: the parties in a team must be at the exact order, and the left and right teams must not flip with each other. Do we even care about which team is left or right, or the order of teams in the list? Maybe some people do; but none of this is mentioned in the description.
All definitions are moved to the Preloaded section.
Should be fixed now
Прикольный вариант с константой
This comment is hidden because it contains spoiler information about the solution