23
Mikael Dovbnia
Last seen 38 minutes ago
Member for 2 years, 4 months, 29 days
Difficulty Normal
Take the string "abcabcffababcabcffababcabcffab" and try your code on it. You have double recursion in your code, so it is O(2 ** n). This string will run minutes. I tried your code with this and used the time module to calculate the minutes the code will run. It was running 201.6750979423523 second
More
I don't understand what are you doing here.
More
Nice clear solution.
Really like how you made the part where you make the sum of 'items'.
Didn't think of that.
More
I would really say it's a clear solution.
It is not really creative.
Nice.
More
Well that's a huge solution, but it's clear and good.
I like it.
👍🏻👍🏻👍🏻
More
And I really did with 'zip_longest' from itertools.
You can check my solution on page 20, and the name is 'Zip It'.
It is in the clear solutions page.
More
Nice solution I didn't think to do the things you did in 'others'.
It is somehow similar to mine.
🤩🤩🤩🤩.
More
Great. I like the regular expression. Very complicated regex, but still great!
More
You can delete the else in the solution because if succ won't reach three it will automatically return False.
More
This is the shortest solution I saw.
I asked ChatGPT about how to shorten this code, but it said this is the shortest version.
More
I really like your solution. Are there many different solutions?🤩🤩🤩🤩.Love it!
More