Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 289 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 289 Bytes

NSArray-Bogosort

An extremely unuseful sort category for NSArray.

Contains:

  • BogoSort
    • Sorts a list randomly. If it isn't sorted tries again.
  • BogoBogoSort
    • Picks 2 elements at random. If they're sorted picks a third. If at any time its not sorted starts over.