#3816. [GESP202506 六级 C++] 第 23 题
[GESP202506 六级 C++] 第 23 题
下列代码中的 tree 向量,表示的是一棵完全二叉树(-1 代表空节点)按照层序遍历的结果。
#include <vector>
std::vector<int> tree = {1, 2, 3, 4, -1, 6, 7};
{{ select(1) }}
- 正确
- 错误
下列代码中的 tree 向量,表示的是一棵完全二叉树(-1 代表空节点)按照层序遍历的结果。
#include <vector>
std::vector<int> tree = {1, 2, 3, 4, -1, 6, 7};
{{ select(1) }}