I recently stumbled upon Sleep Sort[1, 2], which is the most creative algorithmic idea I think I have ever seen in code.<p>I&#x27;d love to read about more creative algorithms and code snippets like this, what else is out there? And I don&#x27;t mean obfuscated code (although they often do include very creative ideas too).<p>[1] https:&#x2F;&#x2F;rosettacode.org&#x2F;wiki&#x2F;Sorting_algorithms&#x2F;Sleep_sort<p>[2] https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2657277
Ask HN: Most creative algorithms?