Skip to content

Commit 97f70aa

Browse files
committed
Revert "Update bubble_sort.py"
This reverts commit 0a262b9.
1 parent 0a262b9 commit 97f70aa

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

bubble_sort.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,3 @@ def sorter(arr):
66
arr[j] = arr[j + 1]
77
arr[j + 1] = temp
88
return arr
9-
10-
11-
def unsorter(arr):
12-
temp = []
13-
14-
while True:
15-
if len(arr) == 0:
16-
break
17-
temp.append(arr.pop())
18-
return temp

0 commit comments

Comments
 (0)