Skip to content

Commit 46ba2b7

Browse files
authored
Update 1.bubbleSort.md
1 parent 06d9816 commit 46ba2b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1.bubbleSort.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function bubbleSort(arr) {
6565
## 6. Python 代码实现
6666

6767
```python
68-
def BubbleSort(arr):
68+
def bubbleSort(arr):
6969
for i in range(1, len(arr)):
7070
for j in range(0, len(arr)-i):
7171
if arr[j] > arr[j+1]:
@@ -142,7 +142,7 @@ function bubbleSort($arr)
142142
```
143143
## 10. C 代码实现
144144
```c
145-
void BubbleSort1(int data[],int n) //n为data长度
145+
void bubbleSort1(int data[],int n) //n为data长度
146146
{
147147
int t;
148148
for(int i=0;i<n-1;i++){

0 commit comments

Comments
 (0)