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!
the third or whatever this is, is really nice! and I love all your typehints!!
I thought I was the only one who does this ;)
I really liked solving this kata, but in the end of the day it was super frustrating that time after time optimizations did not result into all tests passing within the time limit!
I'd suggest to add a hint to the description about the desired solving speed in the description, so that one may estimate how far is he or she from "getting there".
For me, the solution that passed solved the basic test case in ±30-50ms.
Small hint regarding optimization in Python: try using cProfile to find out which part of the program takes the most time to execute.
Awesome solution!
Well, this is a programming problem in a first place. Implemeting an algorithm loosely defined using words is still a tricky task, even though you did not invent it.
After all, the task should be well beyond 3 level, if it's expected that you invent a new solution for a tough math problem.
Nice!
Yet, I've never seen Python code which looks so much like Java :D
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
@AlexShein
,Thanks for the comment!
Wow! Nice solution.