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.
thank you for making me discover the zip function
Thank you! Good work!
thank you, your scritp so good
a method to rotate 2D list based on zip
Thank you for this!
yes
So elegant. A great example to us learners - thank you.
Clever solution!
two ifs but no elif?!
Best in terms of function operating time. I mean, why do complex calculations when you can do it straight away? As a complete beginner, I discover on other katas that sometimes the simplest head-on solutions are the best in time, but sometimes complex calculations work tens of times faster than similar head-on solutions. I would also do it through a set so that the algorithmic time is O(1)
This is almost too simple compared to my wacky, naive, barely working solution, lol. Speechless.
damn didnt know it was 7 years ago but fair play
I doubt 7 years ago chatgpt was a thing.
nice chatgpt there
Late reply, but you subtract one number from the "num_pill" since there exist only one space/distance in between two pillars. Same as all real life objects, there exist only one space in between two objects.
Loading more items...