Archive of posts with category 'algorithms'

Advent of Code 2021: Stack-Based Bracket Matching in C

Advent of Code 2021 was running and I had a few evenings free. I knocked out four days – the first three in Python for speed, and Day 10 in...

Back to Basics: Algorithms and Data Structures in C

Every few years I go back to the fundamentals. Not because I’ve forgotten how merge sort works, but because implementing things from scratch in C forces a level of precision...