Skip to content
Snippets Groups Projects
Verified Commit 1d1a2a31 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

corrected pseudo code

parent ea8dca29
Branches
Tags
No related merge requests found
...@@ -89,10 +89,10 @@ rien tamisage(tab, i) ...@@ -89,10 +89,10 @@ rien tamisage(tab, i)
```python ```python
entier ind_max(tab, i, g, d) entier ind_max(tab, i, g, d)
ind_max = i ind_max = i
si tab[ind_max] < tab[l] si tab[ind_max] < tab[g] && size(tab) > g
ind_max = l ind_max = g
si tab[ind_mx] < tab[r] si tab[ind_mx] < tab[d] && size(tab) > d
ind_max = r ind_max = d
retourne ind_max retourne ind_max
entier gauche(i) entier gauche(i)
...@@ -541,7 +541,7 @@ graph TD; ...@@ -541,7 +541,7 @@ graph TD;
. . . . . .
* `hd > hg` * `hd < hg`
```{.mermaid format=pdf width=400 loc=figs/} ```{.mermaid format=pdf width=400 loc=figs/}
graph TD; graph TD;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment