Adam Johnson
Solving Algorithmic Problems in Python with Pytest
2019-04-21
I occasionally enjoy solving algorithmic problems, for example Project Euler or The Advent of Code.
I’ve been doing them since I was a pimply PHP-slinging teenager, competing with my peers across the UK in the British Informatics Olympiad.
It was terribly nerdy and terribly fun.
Algorithmic problems are often used in technical interviews, which I find less fun.
Strict deadlines stress me out.
In either case, using automated tests makes these problems way easier.
I wish I knew this earlier!
Online algorithmic platforms, such as Codility, provide their own automated tests.