Update time_complexity.md

pull/233/head
Yudong Jin 2 years ago committed by GitHub
parent 51e52121dc
commit 483925686f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1434,7 +1434,7 @@ $$
for (int i = n - 1; i > 0; i--) {
// 内循环:冒泡操作
for (int j = 0; j < i; j++) {
if (nums[j] > nums [j+1])
if (nums[j] > nums [j + 1])
{
// 交换 nums[j] 与 nums[j + 1]
int tmp = nums[j];

Loading…
Cancel
Save