A generic implementation of bogosort in C.
C C++
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
headers
src
Makefile
README.md

README.md

bogosort

A generic sorting algorithm in C based on the famous bogosort algorithm. I can't believe it myself, but many of these files are well-documented...

Seriously... don't use that, it's just for fun :P

Performance

  • Best: O(n)
  • Average: O(n * n!)
  • Worst: O(infinity)

Dependencies

  • None

License