From ca7585931115b436f932432c57956c7c5ac48528 Mon Sep 17 00:00:00 2001 From: NaiJi Date: Mon, 22 Apr 2024 09:51:59 +0400 Subject: [PATCH] 6 i am retarded --- The Last Algorithms Course You'll Need/6. Bubble Sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/The Last Algorithms Course You'll Need/6. Bubble Sort.c b/The Last Algorithms Course You'll Need/6. Bubble Sort.c index 201669b..83d7809 100644 --- a/The Last Algorithms Course You'll Need/6. Bubble Sort.c +++ b/The Last Algorithms Course You'll Need/6. Bubble Sort.c @@ -22,7 +22,7 @@ void bubble_sort(int array[], int size) { - for (int i = 1; i < size; ++i) + for (int i = 0; i < size; ++i) { for (int j = 1; j < size - i; ++j) {