写给热爱学习的自己,记录自己的学习过程
培养良好学习习惯
-
算法刷题日记
-
第25套
-
第24套:
-
1、剑指 Offer 二叉搜索树的最近公共祖先 https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-zui-jin-gong-gong-zu-xian-lcof
-
2、 二叉树中的最大路径和 https://leetcode-cn.com/problems/binary-tree-maximum-path-sum
-
3、前 K 个高频元素 https://leetcode-cn.com/problems/top-k-frequent-elements
-
4、 最接近原点的 K 个点 https://leetcode-cn.com/problems/k-closest-points-to-origin
-
5、根据字符出现频率排序 https://leetcode-cn.com/problems/sort-characters-by-frequency
-
-
第23套:
-
第22套:
-
第21套:
-
第20套:
-
1、 平衡二叉树 https://leetcode-cn.com/problems/balanced-binary-tree
-
2、 Offer 40. 最小的k个数 https://leetcode-cn.com/problems/zui-xiao-de-kge-shu-lcof
-
3、 最后一块石头的重量 https://leetcode-cn.com/problems/last-stone-weight
-
4、 数据流中的第 K 大元素 https://leetcode-cn.com/problems/kth-largest-element-in-a-stream
-
5、 查找和最小的K对数字 https://leetcode-cn.com/problems/find-k-pairs-with-smallest-sums
-
-
第19套:
-
1、N 叉树的前序遍历: https://leetcode-cn.com/problems/n-ary-tree-preorder-traversal
-
2、翻转二叉树 :https://leetcode-cn.com/problems/invert-binary-tree
-
3、剑指 Offer:从上到下打印二叉数II https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof
-
4、二叉树的层序遍历 II: https://leetcode-cn.com/problems/binary-tree-level-order-traversal-ii
-
5、 二叉树的锯齿形层序遍历: https://leetcode-cn.com/problems/binary-tree-zigzag-level-order-traversal
-
-
第18套:
-
1、剑指 Offer:二叉搜索树的第k大节点 https://leetcode-cn.com/problems/er-cha-sou-suo-shu-de-di-kda-jie-dian-lcof
-
2、剑指 Offer: 树的子结构 https://leetcode-cn.com/problems/shu-de-zi-jie-gou-lcof
-
3、监控二叉树 https://leetcode-cn.com/problems/binary-tree-cameras
-
4、二叉树最大宽度 https://leetcode-cn.com/problems/maximum-width-of-binary-tree
-
5、二叉树的前序遍历 https://leetcode-cn.com/problems/binary-tree-preorder-traversal
-
-
第17套算法题,刷就完事!
-
1、Offer 10: 斐波那契数列 https://leetcode-cn.com/problems/fei-bo-na-qi-shu-lie-lcof
-
3、从前序与中序遍历序列构造二叉树 https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
-
4、 第K个语法符号 https://leetcode-cn.com/problems/k-th-symbol-in-grammar
-
5、 完全二叉树的节点个数 https://leetcode-cn.com/problems/count-complete-tree-nodes
-
-
第16套题强势出场:
-
第15套:
-
第14套:
-
第13套:
-
第12套算法题:
-
第11套算法题:
-
环形链表 II https://leetcode-cn.com/problems/linked-list-cycle-ii
-
反转链表 II https://leetcode-cn.com/problems/reverse-linked-list-ii
-
删除链表的倒数第 N 个结点 https://leetcode-cn.com/problems/remove-nth-node-from-end-of-list
-
删除排序链表中的重复元素 https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list
-
删除排序链表中的重复元素 II https://leetcode-cn.com/problems/remove-duplicates-from-sorted-list-ii
-
-
第10套算法题:
-
二叉树的后序遍历 https://leetcode-cn.com/problems/binary-tree-postorder-traversal
-
验证二叉树的前序序列化 https://leetcode-cn.com/problems/verify-preorder-serialization-of-a-binary-tree
-
基本计算器 II https://leetcode-cn.com/problems/basic-calculator-ii
-
函数的独占时间 https://leetcode-cn.com/problems/exclusive-time-of-functions
-
表现良好的最长时间段 https://leetcode-cn.com/problems/longest-well-performing-interval
-
-
第9套算法题:
-
链表中倒数第k个节点:https://leetcode-cn.com/problems/lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof/
-
复制带随机指针的链表:https://leetcode-cn.com/problems/copy-list-with-random-pointer/
-
交换链表中的节点:https://leetcode-cn.com/problems/swapping-nodes-in-a-linked-list/
-
两两交换链表中的节点:https://leetcode-cn.com/problems/swap-nodes-in-pairs/
-
合并 k 个升序链表 :https://leetcode-cn.com/problems/merge-k-sorted-lists/
-
-
第8套算法题:
-
第7套算法题代码及解析
-
桶排序:https://leetcode-cn.com/problems/top-k-frequent-elements/description/
-
两节点的最长路径:https://leetcode.com/problems/diameter-of-binary-tree/description/
-
两个字符串包含的字符是否完全相同:https://leetcode-cn.com/problems/valid-anagram/description/
-
计算一组字符集合可以组成的回文字符串的最大长度:https://leetcode-cn.com/problems/longest-palindrome/description/
-
-
第6套算法题代码及解析
-
第5套算法题代码及解析
-
第4套算法题代码及解析
-
第3套算法题代码及解析
-
第2套算法题代码及解析
-
第1套算法题代码及解析
-