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
+9-8
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# The Algorithms - Java
2
2
3
-
##A [Development](https://github.com/TheAlgorithms/Java/tree/Development) branch is made for this repo where we are trying to migrate the existing project to a Java project structure. You can switch to [Development](https://github.com/TheAlgorithms/Java/tree/Development) branch for contributions. Please refer [this issue](https://github.com/TheAlgorithms/Java/issues/474) for more info.
3
+
NOTE: A [Development](https://github.com/TheAlgorithms/Java/tree/Development) branch is made for this repo where we are trying to migrate the existing project to a Java project structure. You can switch to [Development](https://github.com/TheAlgorithms/Java/tree/Development) branch for contributions. Please refer [this issue](https://github.com/TheAlgorithms/Java/issues/474) for more info.
4
4
5
5
### All algorithms implemented in Java (for education)
6
6
@@ -19,7 +19,7 @@ __Properties__
19
19
* Best case performance O(n)
20
20
* Average case performance O(n^2)
21
21
22
-
######View the algorithm in [action][bubble-toptal]
22
+
##### View the algorithm in [action][bubble-toptal]
23
23
24
24
25
25
@@ -34,7 +34,7 @@ __Properties__
34
34
* Best case performance O(n)
35
35
* Average case performance O(n^2)
36
36
37
-
######View the algorithm in [action][insertion-toptal]
37
+
##### View the algorithm in [action][insertion-toptal]
38
38
39
39
40
40
### Merge
@@ -48,7 +48,7 @@ __Properties__
48
48
* Average case performance O(n log n)
49
49
50
50
51
-
######View the algorithm in [action][merge-toptal]
51
+
##### View the algorithm in [action][merge-toptal]
52
52
53
53
### Quick
54
54
![alt text][quick-image]
@@ -60,7 +60,7 @@ __Properties__
60
60
* Best case performance O(n log n) or O(n) with three-way partition
61
61
* Average case performance O(n^2)
62
62
63
-
######View the algorithm in [action][quick-toptal]
63
+
##### View the algorithm in [action][quick-toptal]
64
64
65
65
### Selection
66
66
![alt text][selection-image]
@@ -72,7 +72,7 @@ __Properties__
72
72
* Best case performance O(n^2)
73
73
* Average case performance O(n^2)
74
74
75
-
######View the algorithm in [action][selection-toptal]
75
+
##### View the algorithm in [action][selection-toptal]
76
76
77
77
### Shell
78
78
![alt text][shell-image]
@@ -84,7 +84,7 @@ __Properties__
84
84
* Best case performance O(n log n)
85
85
* Average case performance depends on gap sequence
86
86
87
-
######View the algorithm in [action][shell-toptal]
87
+
##### View the algorithm in [action][shell-toptal]
88
88
89
89
### Time-Compexity Graphs
90
90
@@ -119,14 +119,15 @@ __Properties__
119
119
* Average case performance O(log n)
120
120
* Worst case space complexity O(1)
121
121
122
+
### Shell
122
123
From [Wikipedia][shell-wiki]: Shellsort is a generalization of insertion sort that allows the exchange of items that are far apart. The idea is to arrange the list of elements so that, starting anywhere, considering every nth element gives a sorted list. Such a list is said to be h-sorted. Equivalently, it can be thought of as h interleaved lists, each individually sorted.
123
124
124
125
__Properties__
125
126
* Worst case performance O(nlog2 2n)
126
127
* Best case performance O(n log n)
127
128
* Average case performance depends on gap sequence
128
129
129
-
######View the algorithm in [action][shell-toptal]
130
+
##### View the algorithm in [action][shell-toptal]
0 commit comments