An AVL tree that all the balance factors of non-leaf nodes are 0 must be a perfect binary tree.
An AVL tree that all the balance factors of non-leaf nodes are 0 must be a perfect binary tree.(2分)TF...
To prove problem B is NP-complete, we can use a NP-complete problem A and use a polynomial-time redu
To prove problem B is NP-complete, we can use a NP-complete problem A and use a polynomial-time reduction algorithm to t...
如果函数的参数是基类对象或基类对象的引用,函数调用时的实参可以是派生类对象。
如果函数的参数是基类对象或基类对象的引用,函数调用时的实参可以是派生类对象。(1分)TF...
When deleting the root of a binary search tree, we may find the largest key K from its left subtree,
When deleting the root of a binary search tree, we may find the largest key K from its left subtree, and then...
数据结构中() (2分)
数据结构中()(2分)A.数据结构是相互之间存在一种或多种特定关系的数据元素的组合B.数据元素是孤立存在的C.数据结构是一个二元组D.有四类基本结构...
下列说法正确的有: (2分)
下列说法正确的有:(2分)A.算法和程序原则上没有区别,在讨论数据结构时二者通用B.从逻辑关系上讲,数据结构分为两大类:线性结构和非线性结构C.所谓数据的逻辑结构是指数据元素之间的逻辑关系D.同一数据逻辑结构中的所有数据元素都具有相同的特性...
对一个算法的评价,包括如下()方面的内容。 (2分)
对一个算法的评价,包括如下()方面的内容。(2分)A.可读性B.并行性C.正确性D.空间复杂度...
抽象数据类型按其值的不同特性可分为_____。 (2分)
抽象数据类型按其值的不同特性可分为_____。(2分)A.分子类型B.原子类型C.离子类型D.可变聚合类型E.固定聚合类型...