TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What are some of the coolest algorithms you know?

1 pointsby ParallelThreadalmost 3 years ago
Following https://news.ycombinator.com/item?id=32186203, what are some of the obscure/coolest algorithms that you know?

4 comments

porcodaalmost 3 years ago
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.
Bostonianalmost 3 years ago
The sweep algorithm for computing least-squares multiple regression coefficients for all subsets of predictor variables -- see <a href="https:&#x2F;&#x2F;blogs.sas.com&#x2F;content&#x2F;iml&#x2F;2018&#x2F;04&#x2F;18&#x2F;sweep-operator-sas.html" rel="nofollow">https:&#x2F;&#x2F;blogs.sas.com&#x2F;content&#x2F;iml&#x2F;2018&#x2F;04&#x2F;18&#x2F;sweep-operator-...</a> .
cratermoonalmost 3 years ago
I dunno if it&#x27;s &quot;cool&quot; in the sense of something I&#x27;d want to ever use, but Sleep Sort is amusing. <a href="https:&#x2F;&#x2F;kevlinhenney.medium.com&#x2F;need-something-sorted-sleep-on-it-11fdf8453914" rel="nofollow">https:&#x2F;&#x2F;kevlinhenney.medium.com&#x2F;need-something-sorted-sleep-...</a>
trifitalmost 3 years ago
1- blissfully rising in morning 2- eating a large meal 3- successfully resume sleep<p>repeat indefinitely