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.
The only thing I'd change here is using re.finditer instead of re.findall, so that memory consumption is minimal
well done although using counter is still slightly slower than pure regex + comprehensions. I must admit you did better on the regex than me :D just realized after using lower i didn't need the uppercase check... also much better handling of the ' cases. Thank you for the inspiration :)
OMG perfect! :D
with dynamic programming
nice work
hmm nice
It was one of the best solutions I saw on the CodeWars !! Congratulations.
I give tactics, start at 1.5% from the 1st month and do not take the monthly savings as fixed as 1000, do it according to external values