Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Trees
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
1MAE002 - ALGORITHM AND COMPUTING
Advanced
Trees
Commits
95b0dc38
Verified
Commit
95b0dc38
authored
10 months ago
by
STEVAN Antoine
Browse files
Options
Downloads
Patches
Plain Diff
fix TOC and optional parts
"implementing the BST" is not optional.
parent
7bf2cb3b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+11
-11
11 additions, 11 deletions
README.md
avl.md
+1
-1
1 addition, 1 deletion
avl.md
bst.md
+2
-2
2 additions, 2 deletions
bst.md
with
14 additions
and
14 deletions
README.md
+
11
−
11
View file @
95b0dc38
...
...
@@ -30,9 +30,9 @@ Finally, a few examples of trees will be showcased:
-
[
_Question 10._
](
bst.md#question-10-toc
)
-
[
_Deletion_
](
bst.md#deletion-toc
)
-
[
_Question 11._
](
bst.md#question-11-toc
)
-
[
_Unbalanced trees_ (_optional_)
](
avl
.md#unbalanced-trees-toc-optional
)
-
[
_Question 12._
](
avl
.md#question-12-toc
)
-
[
_Height-balanced BSTs_
](
avl.md#height-balanced-bsts-toc
)
-
[
_Unbalanced trees_ (_optional_)
](
bst
.md#unbalanced-trees-toc-optional
)
-
[
_Question 12._
](
bst
.md#question-12-toc
)
-
[
_Height-balanced BSTs_
(_optional_)
](
avl.md#height-balanced-bsts-toc
-optional
)
-
[
_Question 13._
](
avl.md#question-13-toc
)
-
[
_Question 14._
](
avl.md#question-14-toc
)
-
[
_Question 15._
](
avl.md#question-15-toc
)
...
...
This diff is collapsed.
Click to expand it.
avl.md
+
1
−
1
View file @
95b0dc38
# Height-balanced BSTs [[toc](README.md#table-of-content)]
# Height-balanced BSTs [[toc](README.md#table-of-content)]
(_optional_)
First, let's formalize a bit the intuition from previous section about "_what it
means for a tree to be unbalanced?_"
...
...
This diff is collapsed.
Click to expand it.
bst.md
+
2
−
2
View file @
95b0dc38
### Implementing the BST [[toc](README.md#table-of-content)]
(_optional_)
### Implementing the BST [[toc](README.md#table-of-content)]
Now that we have seen what trees are and the basic operations on binary trees,
it is time to go back to our original problem.
...
...
@@ -114,7 +114,7 @@ Well, once again, there are a few cases to look at
:gear: Run
`make test-bst`
. If the "delete" test is green, good job :clap:
:clap:
## Unbalanced trees [[toc](README.md#table-of-content)]
## Unbalanced trees [[toc](README.md#table-of-content)]
(_optional_)
Finally, we have a fully working BST! :tada:
However, it is not entirely time to celebrate... We have a problem.
...
...
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