We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdef617 commit 44fde4dCopy full SHA for 44fde4d
src/python/bubble_sort.py
@@ -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
+""" Implementation of the bubble sort algorithm with recursion """
5
6
7
def bubble_sort(data, size):
8
"""
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
-
15
Implementation of a bubble sort algorithm with recursion.
+
16
Arguments:
17
data: list. List to be sorted
18
size: int. List size
19
Returns the ordered "date" list.
20
21
swap = False
0 commit comments