In the figure below, there are four trees, whose nodes are
colored either black or red. Indicate which of the following
statements about these trees are correct:
Only trees 1, 2 and 3 are binary search trees.
Trees 1, 2 and 3 are correct red-black trees.
Tree 1 is a true red-black tree.
Tree 3 is a true red-black tree.
All trees are binary search trees.
Only C, D and E are correct.
Only A, B, C and D are correct.
Only B, C, D and E are correct.
Only D and E are correct.
Only C and E are correct.
Tradi 21 Träd 2 21 14 26 14 26 12 15 24 32 12 15 24 32 19 25 19 Träd 3 21 Träd 4 21 14 26 14 26 12 15 24 32 12 15 24 32 19 25 19
In the figure below, there are four trees, whose nodes are colored either black or red. Indicate which of the following
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In the figure below, there are four trees, whose nodes are colored either black or red. Indicate which of the following
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!