Exercise 4: Binary Search Trees
- Due Apr 12, 2024 by 11:59pm
- Points 4
- Submitting a discussion post
- Available after Apr 9, 2024 at 4pm
A red-black tree is an example of a binary search tree. Explain why your assigned operation below is efficient in a binary search tree (topics were assigned via random number generator):
- adding a value (Vinci)
- searching for a value (Neil)
- traversing the tree in sorted order (Zhihui)
Recall that binary search trees were covered in Data Structures and Algorithms. There is a chapter in your Algorithms book addressing some of these topics, though it was not assigned for reading.
After you post, you may view other students' answers and reply with additional information or corrections to their topics (encouraged).
Initial post is due by Friday (4/12). Any additional replies by Sunday (4/14).
Rubric
Please include a title
Keep in mind that 3 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | Pts | |
---|---|---|---|
Explanation of assigned operation.
threshold:
pts
|
pts
--
|
||
Replies to other posters (or to own initial post).
threshold:
pts
|
pts
--
|
||
Total Points:
4
out of 4
|