Since it's almost 100 days till #AdventOfCode, I took on a new puzzle shared by a friend.
How to combine multiple overlapping strings with each other?
I took #Python and started solving it with #TestDrivenDevelopment while writing a blog post about the progress.
It works but it's not optimized so it only solves the more complex inputs if you have unlimited time and resources.
I figured the progress is the most interesting part so I published it.
https://hamatti.org/posts/compressing-overlapping-strings-in-python/
@hamatti Fun! The standard library might have something useful in difflib for this, and with the good tests in place you can refactor safely :)
https://docs.python.org/3/library/difflib.html