Mathspp Blog

A blog dedicated to mathematics and programming!

This blog has a really interesting assortment of articles on mathematics and programming. You can use the tags to your right to find topics that interest you, or you may want to have a look at

You should also subscribe to the blog newsletter.

This article is an in-depth analysis of Python solutions to the “Sonar Sweep” problem, which is day 1 of Advent of Code 2021.

This article will teach you about the minimax algorithm and alpha-beta pruning, from a beginner's perspective.

Today I learned that the .join method in Python is a two-pass algorithm, and that's why joining a list comprehension is faster than a generator expression.

Today I learned about an algorithm that Python uses to sort out inheritance.

Alice and Bob are going to be locked away separately and their faith depends on their guessing random coin tosses!

Can you measure exactly \(2\)L of water with two plain buckets with volumes of \(14\)L and \(5\)L? Of course you can!

Progress is great and new things are always exciting... but that doesn't mean old things don't have any value!