Skip to content

Commit b640842

Browse files
committed
fixed typo
1 parent 56ef72a commit b640842

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Formally, the output of any sorting algorithm must satisfy two conditions:
2020
- [Selection Sort](https://github.com/StPfeffer/sort-algorithms-python/blob/main/selectionsort.py)
2121
- [Shell Sort](https://github.com/StPfeffer/sort-algorithms-python/blob/main/shellsort.py)
2222

23+
## Known Issues
24+
25+
- Maximum recursion depth exceed when using [Quick Sort](https://github.com/StPfeffer/sort-algorithms-python/blob/main/quicksort.py) with more than ~1200 elements
26+
2327
## Translations
2428

25-
- [Portuguese Brazil](https://github.com/StPfeffer/sort-algorithms-python/blob/main/pt-br/README.md)
29+
- [Portuguese Brazil](https://github.com/StPfeffer/sort-algorithms-python/blob/main/pt-br/README.md)

pt-br/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Formalmente, a saída de qualquer algoritmo de ordenação deve satisfazer duas
99
1. A saída é em ordem monotônica (cada elemento não é menor/maior que o elemento anterior, de acordo com a ordem requerida).
1010
2. A saída é uma permutação (uma reordenação, mas mantendo todos os elementos originais) da entrada.
1111

12+
## Problemas
13+
14+
- Profundidade máxima de recursão excedida usando [Quick Sort](https://github.com/StPfeffer/sort-algorithms-python/blob/main/quicksort.py) com mais de ~1200 elementos.
15+
1216
## Algoritmos
1317

1418
- [Bubble Sort](https://github.com/StPfeffer/sort-algorithms-python/blob/main/bubblesort.py)

quicksort.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from generator import Generator
22

3+
# TODO: fix max recursion depth, should use sys.setrecursionlimit(new_limit) ?
4+
35

46
# Divides array into two partitions
57
def Partition(arr: list, low: int, high: int) -> int:

0 commit comments

Comments
 (0)