摘要: 题目描述 难度:【简单】 标签:【二叉树】 翻转一棵二叉树。 题目地址:https://leetcode-cn.com/problems/invert-binary-tree/ 示例 输入 4 / \ 2 7 / \ / \ 1 3 6 9 输出 4 / \ 7 2 / \ / \ 9 6 3 1 阅读全文
posted @ 2021-11-26 20:31 把苹果咬哭的测试笔记 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 二叉搜索树(BST),首先它是个二叉树。 做题之前看了下以前的笔记: 【树与二叉树】:https://www.cnblogs.com/pingguo-softwaretesting/p/14587752.html 【二叉树的遍历,前序、中序和后序】:https://www.cnblogs.com/p 阅读全文
posted @ 2021-11-26 20:15 把苹果咬哭的测试笔记 阅读(32) 评论(0) 推荐(0) 编辑