A Simple Clustering Algorithm for Lists Inspired by Magna-Tiles Play

A Simple Clustering Algorithm for Lists Inspired by Magna-Tiles Play

I developed a unique clustering algorithm inspired by sorting my toddler's Magna-Tiles. This greedy approach groups list values by reversing sub-lists, similar to pancake sort but focused on clustering. While the O(n^2) complexity makes it inefficient for computers, the process highlights how humans intuitively solve spatial problems that challenge machines.

It's way easier to solve this as a physical human being with objects in front of you than it is for a computer to solve it.

More from this day

2026-07-31