Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cours
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gaspard.legouic
cours
Commits
cb6b0cb3
Verified
Commit
cb6b0cb3
authored
2 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
promotion -> tamisage
parent
c7b31970
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slides/cours_17.md
+4
-4
4 additions, 4 deletions
slides/cours_17.md
with
4 additions
and
4 deletions
slides/cours_17.md
+
4
−
4
View file @
cb6b0cb3
...
...
@@ -68,18 +68,18 @@ rien tri_par_tas(tab)
entassement
(
tab
)
échanger
(
tab
[
0
],
tab
[
size
(
tab
)
-
1
])
pour
i
de
size
(
tab
)
-
1
à
2
promotion
(
tab
,
0
)
tamisage
(
tab
,
0
)
échanger
(
tab
[
0
],
tab
[
i
-
1
])
rien
entassement
(
tab
)
pour
i
de
size
(
tab
)
/
2
-
1
à
0
promotion
(
tab
,
i
)
tamisage
(
tab
,
i
)
rien
promotion
(
tab
,
i
)
rien
tamisage
(
tab
,
i
)
ind_max
=
ind_max
(
tab
,
i
,
gauche
(
i
),
droite
(
i
))
si
i
!=
ind_max
échanger
(
tab
[
i
],
tab
[
ind_max
])
promotion
(
tab
,
ind_max
)
tamisage
(
tab
,
ind_max
)
```
# L'algorithme du tri par tas (2/2)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment