The Python 🐍 problem-solving bootcamp 🚀 is starting soon. Join the second cohort now!

Mathspp Blog

317 359,717 30,716
articles words lines of code

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..?