
OJ
Reeker丶
Keep fighting.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 692. Top K Frequent Words
一遍过了很舒服,虽然肯定还有更优解法,但是比较简洁、可读性相对较高。应该没啥好解释的……static const auto __________ = [](){ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); return nullptr;}();struct cmp{ bool ope...原创 2019-03-04 16:30:21 · 273 阅读 · 0 评论 -
Leetcode 235/236 Lowest Common Ancestor
文章目录[Bonus] Lowest Common Ancestor of TreeNode with parent pointer[235] Lowest Common Ancestor of a Binary Search Tree[236] Lowest Common Ancestor of a Binary TreeSolution 1 - 转化为比较熟悉的情况,容易理解Solution ...原创 2019-03-30 20:43:52 · 575 阅读 · 3 评论