Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enonce
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
Model registry
Operate
Environments
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
programmation_sequentielle
travaux_pratiques
c_lang
binary_search_tree
enonce
Commits
ffd7dbdc
Commit
ffd7dbdc
authored
4 years ago
by
laurent.gantel
Browse files
Options
Downloads
Patches
Plain Diff
typos
parent
62ae8fb1
No related branches found
No related tags found
No related merge requests found
Pipeline
#13142
passed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
binary_search_tree.md
+3
-3
3 additions, 3 deletions
binary_search_tree.md
with
3 additions
and
3 deletions
binary_search_tree.md
+
3
−
3
View file @
ffd7dbdc
...
@@ -66,10 +66,10 @@ node_t *bst_create(); // création d'un arbre vide (retourne NULL)
...
@@ -66,10 +66,10 @@ node_t *bst_create(); // création d'un arbre vide (retourne NULL)
void bst_destroy(node_t *tree); // détruit l'arbre et vide la mémoire
void bst_destroy(node_t *tree); // détruit l'arbre et vide la mémoire
void bst_print(node_t *tree); // affiche l'arbre (voir plus bas)
void bst_print(node_t *tree); // affiche l'arbre (voir plus bas)
// insertion de val dans l'arbre et retourne l'arbe (ou NULL si problème)
// insertion de val dans l'arbre et retourne l'arb
r
e (ou NULL si problème)
node_t *bst_insert(node_t *tree, int val);
node_t *bst_insert(node_t *tree, int val);
// efface le premier élément contenant la valeur val
// efface le premier élément contenant la valeur val
dans l'arbre
//
l'arbre
et retourne l'arbre (ne fait rien si val est absente)
// et retourne l'arbre (ne fait rien si val est absente)
node_t *bst_delete(node_t *tree, int val);
node_t *bst_delete(node_t *tree, int val);
// la valeur val est-elle présente dans l'arbre?
// la valeur val est-elle présente dans l'arbre?
...
...
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