Content-Length: 288852 | pFad | http://github.com/etinaude/python-sorting-algorithms/tree/6d520b0ce2e2f9cae7ffb6c09b130f25c90c0674

AA GitHub - etinaude/python-sorting-algorithms at 6d520b0ce2e2f9cae7ffb6c09b130f25c90c0674
Skip to content

etinaude/python-sorting-algorithms

Repository files navigation

python-sorting-algorithms

a series of algorithms in python please feel free to add and edit

These have been added:

  • Bubble sort
  • Counting sort
  • Quick sort
  • Radix sort
  • Insertion sort
  • Selection sort

esoteric sorts:

  • Bogo sort

These will be added:

  • Pancake sort
  • merge sort
  • Pigeonhole sort
  • Tim sort
  • Heap sort
  • LSD radix
  • no extra space radix
  • bucket sort
  • cocktail sort
  • sorting network

esoteric sorts:

  • Sudo bogo sort
  • bozo sort
  • mirical sort
  • sleep sort
  • intelegent design sort
  • jingle sort
  • bogobogo sort
  • spagetti sort
  • stooge
  • rolling stone sort(physics engine required)
  • Threating Sort (with deleting a random file each time)
  • slow sort
  • worst sort
  • Linus

my own algorithms:

  • Sassy sort (telss you to sort it your own damn self)
  • lls{low level sort} sorts based on -1 to each value and ordering base on which reaches 0 first (only positive ints)
  • reddit sort (post it on reddit and take the top reply as fact)
  • meme sort (sort based on proxmity to the numbers 69 and 420)
  • combo sort (sorts with 5 algorithms to make sure its correct)

notes

Each algorithm is in a function which takes only an unsorted array as a parameter returns the sorted array
There are notes before each algorithm explaining it.

  • n = number of elements to sort
  • d = number of digits in the largest element
  • r = range of elements (largest - smallest)
  • k = size of key

the best, average and worst shows the trend of how each algorith will perform when increasing these values.
I will continue improving this and adding new algorithms









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/etinaude/python-sorting-algorithms/tree/6d520b0ce2e2f9cae7ffb6c09b130f25c90c0674

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy