Leetcode刷题记录
这里记录了我的刷题历程,我目前国内国外两个站点一起刷,两个站点的每日一题不一样。
Daily Problems¶
Date | Title | Difficulty | Category | Finished | Solution |
---|---|---|---|---|---|
2021/11/04 | 367. 有效的完全平方数 | Easy | 数学 | Done | Solution(Python) |
2021/11/06 | 268. 消失的数字 | Easy | 数组, 位运算 | Done | Solution(Python) |
2021/11/07 | 598. 范围求和 II | Easy | 数组 | Done | Solution(Python) |
2021/11/08 | 299. 猜数字游戏 | Medium | 数组 | Done | Solution(Python), Solution(Go) |
2021/11/09 | 488. 祖玛游戏 | Hard | In Progress | Solution(Python), Solution(Go) | |
2021/11/10 | 495. 提莫攻击 | Easy | 数组 | Done | Solution(Python) |
2021/11/11 | 629. K个逆序对数组 | Hard | 序列DP, 数组 | Done | Solution(Python) |
2021/11/12 | 375. 猜数字大小 II | Medium | 动态规划 | Done | Solution(Go), Solution(Python) |
2021/11/13 | 520. 检测大写字母 | Easy | 字符串 | Done | Solution(Go) |
2021/11/14 | 677. 键值映射 | Medium | 数据结构 | Done | Solution(Java) |
2021/11/15 | 319. 灯泡开关 | Medium | 数学 | Done | Solution(Java) |
2021/11/16 | 391. 完美矩形 | Hard | In Progress | ||
2021/11/17 | 318. 最大单词长度乘积 | Medium | 位运算 | Done | Solution(Java), Solution(Python) |
2021/11/18 | 563. 二叉树的坡度 | Easy | 二叉树, 后序遍历 | Done | Solution(Java), Solution(Go), Solution(Python) |
2021/11/19 | 397. 整数替换 | Medium | DFS,动态规划 | Done | Solution(Java), Solution(Go) |
2021/11/20 | 594. 最长和谐子序列 | Easy | 枚举, Hash表 | Done | Solution(Java) |
2021/11/21 | 559. N 叉树的最大深度 | Easy | 递归 | Done | Solution(Java) |
2021/11/22 | 384. 打乱数组 | Medium | Knuth算法, 洗牌算法 | Done | Solution(Go) |
2021/11/22 | 450. Delete Node in a BST | Medium | BST, recursive | Done | Solution(Java) |
2021/11/23 | 859. 亲密字符串 | Easy | 字符串 | Done | Solution(Go) |
2021/11/24 | 423. 从英文中重建数字 | Medium | 矩阵 | Done | Solution(Python), Solution(Java) |
2021/11/25 | 458. 可怜的小猪 | Hard | 进制 | Done | Solution(Go), Solution(Java) |
2021/11/26 | 700. 二叉搜索树中的搜索 | Easy | BST, 递归 | Done | Solution(Python), Solution(Java) |
2021/11/28 | 438. 找到字符串中所有字母异位词 | Medium | 数组, 滑动窗口 | Done | Solution(Java) |
2021/11/29 | 786. 第 K 个最小的素数分数 | Hard | PriorityQueue | Done | Solution(Java) |
2021/11/30 | 400. 第 N 位数字 | Medium | 位数换算, 数学推理 | Done | Solution(Java) |
2021/12/01 | 1446. 连续字符 | Easy | 数组 | Done | Solution(Java) |
2021/12/02 | 506. 相对名次 | Easy | 数组 | Done | Solution(Java) |
2021/12/14 | 630. 课程表 III | Hard | 贪心算法, 优先级队列 | Done | Solution(Java) |
2021/12/17 | 1518. 换酒问题 | Easy | 乘除 | Done | Solution(Java) |
2021/12/23 | 1044. 最长重复子串 | Hard | 字符串哈希 | Done | Solution(Java) |
2021/12/25 | 1609. 奇偶树 | Medium | 二叉树层序遍历 | Done | Solution(Java) |
2021/12/26 | 1078. Bigram 分词 | Easy | 字符串 | Done | Solution(Java) |
2021/12/30 | 846. 一手顺子 | Medium | 模拟, 排序, 堆, 哈希计数 | Done | Solution(Java) |
2021/12/31 | 507. 完美数 | Easy | 模拟 | Done | Solution(Java), Solution(Go) |
2021/12/31 | 1026. Maximum Difference Between Node and Ancestor | Medium | 二叉树, 遍历, 左右子树最大差异 | Done | Solution(Java) |
2022/01/02 | 390. 消除游戏 | Medium | 数学, 约瑟夫环 | Done | Solution(Java) |
2022/01/02 | 1010. Pairs of Songs With Total Durations Divisible by 60 | Medium | TwoSum.. | Done | Solution(Java) |
2022/01/03 | 1185. 一周中的第几天 | Easy | 模拟年份 | Done | Solution(Java) |
2022/01/03 | 997. Find the Town Judge | Easy | 数组 | Done | Solution(Java) |
2022/01/06 | 71. 简化路径 | Medium | 字符串模拟 | Done | Solution(Java) |
2022/01/07 | 1614. 括号的最大嵌套深度 | Easy | 字符串 | Done | Solution(Java) |
2022/01/07 | 382. Linked List Random Node | Medium | 随机访问, 水塘抽样, Reservoir Sampling | Done | Solution(Java) |
2022/01/16 | 849. Maximize Distance to Closest Person | Medium | 数组, 双指针 | Done | Solution(Java) |
2022/01/17 | [290. Word Pattern | Easy | 数据结构, 字符串 | Done | Solution(Java) |