![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
二叉树
风扇吱呀吱呀吹
i am a chinese!
展开
-
浙江大学 计算机与软件学院 2019年保研 上机 模拟练习 7-3 Is It An AVL Tree (25 分)
7-3 Is It An AVL Tree (25 分)In computer science, an AVL tree (Georgy Adelson-Velsky and Evgenii Landis’ tree, named after the inventors) is a self-balancing binary search tree. It was the first such ...原创 2019-10-15 21:55:59 · 543 阅读 · 0 评论 -
2019年9月 PAT 7-3 Postfix Expression
考点:二叉树的建立,遍历DFS注意点:要考虑到只有一个孩子的时候是先序遍历,两个孩子是后序遍历,也就是读懂题很重要。with parentheses reflecting the precedences of the operators.(括号反应优先级)#include <iostream>using namespace std;const int maxn = 100;s...原创 2019-09-16 00:11:04 · 260 阅读 · 0 评论