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: src/main/resources/de/moritzf/sorting/logic/sorting/shellsort.tex
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ \chapter*{Shellsort}
30
30
31
31
\texttt{array}: array with numbers that are to be sorted
32
32
33
-
\texttt{steplengths}: array with steplengths that are to be used. In our definition, steplengths are arranged in descending order (eg. steplengths = [8,4,2,1]). A practical steplengths-array must further fulfill the condition$steplengths[1] < array.length$.
33
+
\texttt{steplengths}: array with steplengths that are to be used. In our definition, steplengths are arranged in descending order (eg. steplengths = [8,4,2,1]). A practical steplengths-array must further fulfill the conditions$steplengths[1] < array.length$ and $steplengths[steplengths.length] == 1$.
0 commit comments