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

corrected pseudo code

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