Ask HN: What’s your favorite elegant/beautiful algorithm? | Hacker News