Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1db367

Browse files
add more alghoritm analisis to calculation
1 parent 97a4c19 commit c1db367

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

‎src/main/java/ir/sk/algorithm/others/Sort.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static void selectionSort(int[] array) {
110110
@InPlace
111111
@Stability
112112
public static void insertionSort(int[] array) {
113-
for (int i = 1; i < array.length; ++i) {
113+
for (int i = 1; i < array.length; i++) {
114114
int j = i - 1;
115115

116116
/* Move elements of arr[0..i-1], that are
1.85 MB
Loading[フレーム]
704 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /