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
Thanks
very clear and nice use of uppercase.
really fast to understand
set(a + b) может быть чуть быстрее для небольших списков, так как:
a + b создаёт новый список за линейное время (O(n + m)), но без накладных расходов на вызов методов.
set(a).union(b) требует создания промежуточного множества и вызова метода, что добавляет небольшую константу.
elegant solution
Nice code!
ok so what? it behaves the same way as a function does.
are we deadass
Thats a pretty nice compact solution, ty!
it's never a good option to put the same name in 2 things (the function and the var are the same)
somebody wasted ten thousand lines using brute force to solve a kata but you used 5
Oh man that's clever. I'm just learning Python and I had no idea int() could be used that way.
oops, it's retired - try again! 😉
suggestions:
Loading more items...