摘要: 链接:https://leetcode cn.com/problems/binary tree level order traversal/ 阅读全文
posted @ 2020-04-05 21:16 景云ⁿ 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode cn.com/problems/symmetric tree/ 阅读全文
posted @ 2020-04-05 21:05 景云ⁿ 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode cn.com/problems/same tree/ 阅读全文
posted @ 2020-04-05 21:01 景云ⁿ 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 链接:https://leetcode-cn.com/problems/validate-binary-search-tree/ 算法:中序遍历 /** * Definition for a binary tree node. * public class TreeNode { * int val; 阅读全文
posted @ 2020-04-05 20:53 景云ⁿ 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 831. KMP字符串 链接:https://www.acwing.com/problem/content/833/ $next[i] = j$ 代表 $p[i, j] = p[i j + 1, j]$ 阅读全文
posted @ 2020-04-05 16:55 景云ⁿ 阅读(270) 评论(0) 推荐(0) 编辑