CSD201_-_FA_2023_-_RE_1133.webp
S

CSD201_-_FA_2023_-_RE_1133.webp

23 Answer
(Choose 1 answer)
To implement an AVL tree, a concept balance factor is introduced (bal = height(right)-height(left). Suppose an AVL tree is created by inserting to the tree the following keys sequentially:6, 2, 7, 1, 3, 5
What is the balance factor of the node 6? (please note that the tree is still AVL)
A. 0
B. -1
C. 1
D. 2

Thông tin

Category
CSD201
Thêm bởi
singing_bird
Ngày thêm
Lượt xem
2,952
Lượt bình luận
26
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_FA_2023_-_RE_1133.webp
File size
63.5 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom