-->
当前位置:首页 > 题库

单选题:After inserting 1 into the red-black tree given in the figure, w

Luz5年前 (2021-05-10)题库1048
After inserting 1 into the red-black tree given in the figure, which node(s) will have its/their color(s) changed? @[C](2)

A. only 2
B. both 2 and 4
C. 2, 3, and 4
D. both 3 and 6

![rbTree1.jpg](~/917a1839-9671-453c-b829-db95328e858c.jpg)




A.only 2
B.both 2 and 4
C.2, 3, and 4
D.both 3 and 6


答案:C