What are some of the coolest algorithms you know?

1 points by ParallelThread ↗ HN
Following https://news.ycombinator.com/item?id=32186203, what are some of the obscure/coolest algorithms that you know?

4 comments

[ 3.1 ms ] story [ 26.9 ms ] thread
1- blissfully rising in morning 2- eating a large meal 3- successfully resume sleep

repeat indefinitely

The Fast Fourier transform is one of my favorites. Aside from its usual place in signal analysis, it’s useful for performing convolutions (see convolution theorem), computing derivatives, and other things. Plus, it’s super satisfying to walk through the derivation from the mathematics and see the Cooley-Tukey algorithm pop out at the end. That was one of my favorite sections to teach when I taught a data analysis class a decade and a half ago.