My new ebook “Comprehending Comprehensions” is on pre-sale and 40% off!

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 will teach you about the minimax algorithm and alpha-beta pruning, from a beginner's perspective.

You are on vacation and must find the most efficient way to cross all bridges. How will you do that?

Syncro is a beautiful game where you have to unite all the petals in a single flower. In how many moves can you do it?

I have always loved solving mazes... so naturally I had to write a program to solve mazes for me!

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

Gandalf has some Hobbits to appease but his task seems to go on forever. Can you give him a hand..?