Skip to content

Commit 44fde4d

Browse files
committed
replaced original
1 parent fdef617 commit 44fde4d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

src/python/bubble_sort.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1-
"""
2-
Implementação do algoritmo bubble sort com recursão
3-
Implementation of the bubble sort algorithm with recursion
4-
"""
1+
""" Implementation of the bubble sort algorithm with recursion """
52

63

74
def bubble_sort(data, size):
85
"""
9-
Implementação de um algoritmo de bubble sort com recursão.
10-
Argumentos:
11-
data: lista. Lista que será ordenada
12-
size: int. Tamanho da lista
13-
Retorna a lista "data" ordenada.
14-
156
Implementation of a bubble sort algorithm with recursion.
7+
168
Arguments:
179
data: list. List to be sorted
1810
size: int. List size
11+
1912
Returns the ordered "date" list.
2013
"""
2114
swap = False

0 commit comments

Comments
 (0)