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

题库 第6288页

  • 最新
  • 浏览
  • 评论

单选题:Given a binary search tree with its postorder traversal sequence

Luz5年前 (2021-05-10)920
Given a binary search tree with its postorder traversal sequence { 5, 7, 12, 10, 20, 19, 31, 21, 15 }. If 15 is deleted…

单选题:What kind of tree has the property that the nodes along the path

Luz5年前 (2021-05-10)731
What kind of tree has the property that the nodes along the path from the root to any node are in sorted order?@[C](2)A.…

单选题:The array representation of the disjoint sets is given by { 3, 1

Luz5年前 (2021-05-10)1336
The array representation of the disjoint sets is given by { 3, 1, -5, 2, 1, -3, -1, 6, 6 }. Keep in mind that the elemen…

单选题:The array representation of the disjoint sets is given by { 3, 3

Luz5年前 (2021-05-10)893
The array representation of the disjoint sets is given by { 3, 3, -5, 2, 1, -3, -1, 6, 6 }. Keep in mind that the elemen…

单选题:The following figure shows the AOE network of a project with 8 a

Luz5年前 (2021-05-10)946
The following figure shows the AOE network of a project with 8 activities. The earliest and the latest completion times…

单选题:After deleting 15 from the red-black tree given in the figure, w

Luz5年前 (2021-05-10)1357
After deleting 15 from the red-black tree given in the figure, which one of the following statements must be FALSE? @…

单选题:A red-black tree with N internal nodes has height at most_______

Luz5年前 (2021-05-10)776
A red-black tree with N internal nodes has height at most______________. @[A](3)A. 2ln(N +1)B. 2ln(N)+1C. ln(2N +1)D. ln…

单选题:对于循环while(!x) 语句,!x等价于____。

Luz5年前 (2021-05-10)1617
对于循环while(!x) 语句,!x等价于____。 @[A](2)A. x==0B. x!=0C. x==1D. x!=1A.x==0B.x!=0C.x==1D.x!=1答案:A…

单选题:若有关变量已经被恰当定义,下面循环语句的循环体将执行____次。

Luz5年前 (2021-05-10)1711
若有关变量已经被恰当定义,下面循环语句的循环体将执行____次。 @[D](2)```for(i=0, j=5; ++i!=--j; ) printf(“%d %d”, i, j);```A. 6B. 3C. 0D. 无限A.6B.3C…

单选题:下列程序段输出结果为 ____。

Luz5年前 (2021-05-10)970
下列程序段输出结果为 ____。 @[B](2)``` int x = -3, y = 2; if(x˃y); x = -x; if(x˂y) y = -y; printf("x=%d,y=%d\n",…