判断题

下列代码中的tree向量,表示的是一棵完全二叉树(-1代表空节点)按照层序遍历的结果。(    )

#include <vector>

std::vector<int>tree={1,2,3,4,-1,6,7}

A 正确
B 错误
赣ICP备20007335号-2