-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathalgs.py
33 lines (31 loc) · 1.17 KB
/
algs.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from algorithms import *
# Map sorting algorithm names to their respective implementations
algorithmsDict = {
'insertionSort' : insertionSort,
'bubbleSort' : bubbleSort,
'selectionSort' : selectionSort,
'mergeSort' : mergeSort,
'quickSort' : quickSort,
'countingSort' : countingSort,
'cocktailSort' : cocktailSort,
'cycleSort' : cycleSort,
'bogoSort' : bogoSort,
'heapSort' : heapSort,
'radixSort' : radixSort,
'shellSort' : shellSort,
'gnomeSort' : gnomeSort,
'combSort' : combSort,
'bitonicSort' : bitonicSort,
'pancakeSort' : pancakeSort,
'binaryInsertionSort': binaryinsertionSort,
'bucketSort' : bucketSort,
'timSort' : timSort,
'stoogeSort' : stoogeSort,
'strandSort' : strandSort,
'oddEvenSort' : oddevenSort,
'pigeonholeSort' : pigeonholeSort,
'exchangeSort' : exchangeSort,
'treeSort' : treeSort,
'slowSort' : slowSort,
'beadSort' : beadSort,
}