Update bubble_sort.md
This commit is contained in:
@ -1,6 +1,5 @@
|
|||||||
### bubble_sort
|
### bubble_sort
|
||||||
|
|
||||||
bubble sort also makes it too simple for sorting any list or array. It simply compares the two neighbouring values and swap them.
|
|
||||||
|
|
||||||
```python
|
```python
|
||||||
def bubble_sort(arr):
|
def bubble_sort(arr):
|
||||||
|
|||||||
Reference in New Issue
Block a user