第20992题 判断题
给定层序遍历(含-1表示空节点)的C++ vector tree={1,2,3,4,-1,6,7},判断其是否表示完全二叉树
#include <vector>
std::vector<int> tree = {1, 2, 3, 4, -1, 6, 7};
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析