• BatmanAoD@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    Reminds me of quantum-bogosort: randomize the list; check if it is sorted. If it is, you’re done; otherwise, destroy this universe.

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      8 days ago

      Guaranteed to sort the list in nearly instantaneous time and with absolutely no downsides that are capable of objecting.