mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-05 00:23:59 +08:00
Update translation for Bubble Sort.
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
# Bubble Sort
|
||||
|
||||
_Read this in other languages:_
|
||||
[_Português_](README.pt-BR.md)
|
||||
|
||||
Bubble sort, sometimes referred to as sinking sort, is a
|
||||
simple sorting algorithm that repeatedly steps through
|
||||
the list to be sorted, compares each pair of adjacent
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
O bubble sort, ou ordenação por flutuação (literalmente "por bolha"), é um algoritmo de ordenação dos mais simples. A ideia é percorrer o vetor diversas vezes, e a cada passagem fazer flutuar para o topo o maior elemento da sequência. Essa movimentação lembra a forma como as bolhas em um tanque de água procuram seu próprio nível, e disso vem o nome do algoritmo.
|
||||
|
||||

|
||||

|
||||
|
||||
## Complexity
|
||||
|
||||
@ -13,4 +13,5 @@ O bubble sort, ou ordenação por flutuação (literalmente "por bolha"), é um
|
||||
## References
|
||||
|
||||
- [Wikipedia](https://pt.wikipedia.org/wiki/Bubble_sort)
|
||||
- [YouTube](https://www.youtube.com/watch?v=6Gv8vg0kcHc&index=27&t=0s&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8)
|
||||
|
Reference in New Issue
Block a user