The mathematical and computer science concept of recursion

13 17,325 1,748
articles words lines of code

Learn how to use structural pattern matching (the match statement) to work recursively through tree-like structures.

This is a short account of how I wrote a program that solves all LQueens puzzles from LinkedIn automatically with Python.

This article walks through the code used to animate a tree fractal.

Reverse-engineering the program from “Chronospatial Computer”, day 17 of Advent of Code 2024.

Solving “Bridge Repair”, from day 7 of Advent of Code 2024, in 4ms with Python with a simple deductive algorithm.

This article shows how to solve the N queens problem in 20 lines of code.

Create a zooming animation from first principles in Python. In 5 minutes. Kind of.

Today I learned what open recursion is and how to leverage it.

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

This post gives you the code to mess around with "Tupper's self-referential formula", a formula that plots itself.

In this post I just ramble a bit through some mathematician's definition of what a recursive function is...