07 2019 档案

摘要:安装步骤: 一:首先安装简版CodeBlocks sudo apt install codeblocks 二:把编译环境,C库、C++库和Boost库装好 sudo apt install build-essential 三:安装 CodeBlocks 的调试组件 Valgrind 用来探测内存泄露 阅读全文
posted @ 2019-07-22 21:20 unicoe 阅读(2812) 评论(0) 推荐(0) 编辑
摘要:二叉树非递归后序遍历 阅读全文
posted @ 2019-07-16 16:28 unicoe 阅读(368) 评论(0) 推荐(0) 编辑
摘要:二叉树非递归中序遍历 阅读全文
posted @ 2019-07-16 16:14 unicoe 阅读(241) 评论(0) 推荐(0) 编辑
摘要:93. 平衡二叉树 给定一个二叉树,确定它是高度平衡的。对于这个问题,一棵高度平衡的二叉树的定义是:一棵二叉树中每个节点的两个子树的深度相差不会超过1。 给定一个二叉树,确定它是高度平衡的。对于这个问题,一棵高度平衡的二叉树的定义是:一棵二叉树中每个节点的两个子树的深度相差不会超过1。 给定一个二叉 阅读全文
posted @ 2019-07-15 20:50 unicoe 阅读(679) 评论(0) 推荐(0) 编辑
摘要:/** * Definition of TreeNode: * public class TreeNode { * public int val; * public TreeNode left, right; * public TreeNode(int val) { * this.val = val; * this.left ... 阅读全文
posted @ 2019-07-15 20:37 unicoe 阅读(507) 评论(0) 推荐(0) 编辑
摘要:模板: 阅读全文
posted @ 2019-07-15 18:57 unicoe 阅读(220) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示