Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by boothby

6 months ago

It's funny because the opposite is often true as well: if you're having trouble solving a problem quickly, randomize the data and try again.

3 comments

boothby

Reply

kibwen  6 months ago

Sometimes these are even the same approach: https://en.wikipedia.org/wiki/Bogosort

lukaslalinsky  6 months ago

Well, even PDQ as one of those new sorting algorithms is a fancy randomized quick sort. I'd say these go well together.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities