题库 第6431页
The number of leaf nodes in a binary tree is only related to the
The number of leaf nodes in a binary tree is only related to the number of 2-degree nodes , i.e it has nothing to do wit…
the average time complexity of the travesal of a binary tree wi
the average time complexity of the travesal of a binary tree with n nodes is O(n). ~@[](2)答案:FALSE…
在二叉树的顺序存储结构中(根的下标为1),下标为130的结点一定处于左子树中。
在二叉树的顺序存储结构中(根的下标为1),下标为130的结点一定处于左子树中。 ~@[](1)答案:TRUE…
There exists a binary tree with 2016 nodes in total, and with 16
There exists a binary tree with 2016 nodes in total, and with 16 nodes having only one child. ~@[](3)答案:FALSE…
采用深度优先搜索或拓扑排序算法可以判断一个有向图中是否有环。
采用深度优先搜索或拓扑排序算法可以判断一个有向图中是否有环。 ~@[](1)答案:TRUE…
采用邻接表存储的图,其广度优先遍历类似于二叉树的先序遍历。
采用邻接表存储的图,其广度优先遍历类似于二叉树的先序遍历。 ~@[](1)答案:FALSE…
广度优先搜索遍历图的时间复杂度和深度优先探索遍历相同。
广度优先搜索遍历图的时间复杂度和深度优先探索遍历相同。 ~@[](1)答案:TRUE…
若有向图不存在回路,即使不用访问标志位同一结点也不会被访问两次。
若有向图不存在回路,即使不用访问标志位同一结点也不会被访问两次。 ~@[](1)答案:FALSE…
A wrapper is used when you want to treat a primitive like an obj
A wrapper is used when you want to treat a primitive like an object. ~@[](1)答案:TRUE…