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.
You're right, the program can be written in many ways, but they simplify some of the calculations.
Neat! Never even thought about this
it makes it understandable for me, though, since i'm quite a beginner haha.
it is necessary otherwise for empty list it will return [0,0] rather than []
very concise solution, nice work.
yeah, O(n)
i didnt know you could chain strings like that without using +, interesting
This comment is hidden because it contains spoiler information about the solution
walrus operator was completely useless here... it didn't make code any shorter lol
clever
yes, if you use regex or translate
good to know you can double unpack dictionaries
great minds think alike :)
This comment is hidden because it contains spoiler information about the solution
silly silly boy, this is very slow. luckly for you, this is not a performance kata
Loading more items...