摘要: 1. 二叉树构建(通过完全二叉树数组) Node* build_tree(int* t, int n, int i) { if (i > n || t[i - 1] < 0) return nullptr; Node* pl = build_tree(t, n, i * 2); Node* pr = 阅读全文
posted @ 2020-10-28 15:33 xytpai 阅读(110) 评论(0) 推荐(0) 编辑