CSD201_-_1_-_FA_2023_-_FE_1030.webp
H

CSD201_-_1_-_FA_2023_-_FE_1030.webp

(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:5, 3, 6, 2, 4, 1
A. 1
What is the balance factor of the node 2? (please note that the tree is still AVL)
B. -1
C. 2
D. 0


Exit 26

Thông tin

Category
CSD201
Thêm bởi
happy_smile1
Ngày thêm
Lượt xem
4,405
Lượt bình luận
40
Rating
5.00 star(s) 1 đánh giá

Image metadata

Filename
CSD201_-_1_-_FA_2023_-_FE_1030.webp
File size
49.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom