摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14136543.html 二叉树的最近公共祖先 题目链接:https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/ 题 阅读全文
摘要:
此博客链接: 浅拷贝 看完参考链接,感觉写的太好了,我无从下手,等我能说的比参考链接还好,我再来更新博客。 参考链接:https://segmentfault.com/a/1190000018874254 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14128733.html JDK 下载 下载链接:https://www.oracle.com/java/technologies/javase-downloads.html 。 安装 点击下载的程序。双击。 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14127491.html 存在重复的元素 题目链接:https://leetcode-cn.com/problems/contains-duplicate/ 题目 给定一个整数数组,判断是否存在重复元素。 如 阅读全文
摘要:
此博客链接: 从中序与后序遍历序列构造二叉树 题目链接:https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/ 题目 根据一棵树的中序遍历与后序遍历构造二叉树。 注意:你 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14118349.html 路径总和 题目链接:https://leetcode-cn.com/problems/path-sum/ 题目 给定一个二叉树和一个目标和,判断该树中是否存在根节点到叶子节点的路径, 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14111516.html 对称二叉树(47min) 题目链接:https://leetcode-cn.com/problems/symmetric-tree/submissions/ 题目 给定一个二叉树,检 阅读全文
摘要:
此博客链接: 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14105476.html 1.分析 1.1贪吃蛇游戏规则 要求蛇头吃小球,每吃一个小球后,蛇身就变长一点,当蛇头碰到蛇身时,游戏结束。 1.2分析 根据作业要求,蛇能转换方向,自动前进,碰撞检测,随机障碍。 阅读全文
摘要:
此博客链接:https://www.cnblogs.com/ping2yingshi/p/14102478.html 二叉树的深度 题目链接:https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/submissions/ 题目 给 阅读全文