Skip to content
This repository was archived by the owner on Jul 27, 2024. It is now read-only.
This repository was archived by the owner on Jul 27, 2024. It is now read-only.

Add Algorithms #4

@RiedleroD

Description

@RiedleroD

Now the really really bad ones. These actually exist. Mostly for fun, so these are mostly simple.

  • Stooge Sort
  • Bad Sort
  • Silly Sort
  • Slow Sort
  • Gnome Sort
  • Bogo Sort
    • Randomness option
  • Demon Sort
    • Rollout Motion
    • Rollin Motion
    • Randswap Motion
    • Inwards checking
    • Outwards checking
    • Concurrent mode
  • DropSort
    this one actually is not a valid sorting algorithm; but there is one slightly different version that's usable at the bottom of the site.

Now the ones that will like never be implemented for various reasons

  • Gravity/Bead Sort
    this one changes the values of items, which is impossible using my API. I suggest reading the wikipedia article on it, as it's very interesting.
  • Pigeonhole Sort
    this one just creates a bucket for every number in the range and the puts the items in there accordingly and then puts them back in the original bucket – not generally that bad, but very much so in this program, as it's not designed to handle more than 20 buckets. It already struggles with 10. Technically its possible to implement, but I don't want to crash peoples PCs.
    I could possibly implement a In-Place version, but that'd look like magic 😅

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions