You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ These are for demonstration purposes only. There are many implementations of sor
7
7
## Sort Algorithms
8
8
9
9
10
-
### Bubble
10
+
### Bubble Sort
11
11
![alt text][bubble-image]
12
12
13
13
From [Wikipedia][bubble-wiki]: **Bubble sort**, sometimes referred to as *sinking sort*, is a simple sorting algorithm that repeatedly steps through the list to be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted.
@@ -19,7 +19,7 @@ __Properties__
19
19
20
20
###### View the algorithm in [action][bubble-toptal]
21
21
22
-
### Bucket
22
+
### Bucket Sort
23
23
![alt text][bucket-image-1]
24
24
![alt text][bucket-image-2]
25
25
@@ -41,7 +41,7 @@ __Properties__
41
41
* Average case performance O(n<sup>2</sup>)
42
42
43
43
44
-
### Insertion
44
+
### Insertion Sort
45
45
![alt text][insertion-image]
46
46
47
47
From [Wikipedia][insertion-wiki]: **Insertion sort** is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on *large* lists than more advanced algorithms such as quicksort, heapsort, or merge sort.
@@ -54,7 +54,7 @@ __Properties__
54
54
###### View the algorithm in [action][insertion-toptal]
55
55
56
56
57
-
### Merge
57
+
### Merge Sort
58
58
![alt text][merge-image]
59
59
60
60
From [Wikipedia][merge-wiki]: **Merge sort** (also commonly spelled *mergesort*) is an efficient, general-purpose, comparison-based sorting algorithm. Most implementations produce a stable sort, which means that the implementation preserves the input order of equal elements in the sorted output. Mergesort is a divide and conquer algorithm that was invented by John von Neumann in 1945.
@@ -67,7 +67,7 @@ __Properties__
67
67
68
68
###### View the algorithm in [action][merge-toptal]
69
69
70
-
### Quick
70
+
### Quick Sort
71
71
![alt text][quick-image]
72
72
73
73
From [Wikipedia][quick-wiki]: **Quicksort** (sometimes called *partition-exchange sort*) is an efficient sorting algorithm, serving as a systematic method for placing the elements of an array in order.
0 commit comments