Skip to content

xuyangwang0825/leetcode-notes-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode刷刷刷刷tmd

lalala lalala

题目来源:力扣(LeetCode)

部分题解来源:力扣(LeetCode)

KillCount : 357 / 1987

Difficulty Title Date
2020.01
easytag 0001. Two Sum 2020.01.11
medium tag 0002. Add Two Numbers 2020.01.11
2020.05
medium tag 0105. Construct Binary Tree from Preorder and Inorder Traversal 2020.05.22
hard tag 0076. Minimum Window Substring 2020.05.23
hard tag 0004. Median of Two Sorted Arrays 2020.05.24
medium tag 0146. LRU Cache 2020.05.25
medium tag 0287. Find the Duplicate Number 2020.05.26
medium tag 0974. Subarray Sums Divisible by K 2020.05.27
medium tag 0394. Decode String 2020.05.28
easytag 0198. House Robber 2020.05.29
hard tag 0084. Largest Rectangle in Histogram 2020.05.30
easytag 0896. Monotonic Array 2020.05.30
easytag 0101. Symmetric Tree 2020.05.31
2020.06
medium tag 剑指offer 64. 求1+2+…+n 2020.06.02
medium tag 0837. New 21 Game 2020.06.03
medium tag 0238. Product of Array Except Self 2020.06.04
medium tag 0054. Spiral Matrix 2020.06.05
hard tag 0128. Longest Consecutive Sequence 2020.06.06
hard tag 0126. Word Ladder II 2020.06.07
medium tag 0127. Word Ladder 2020.06.07
medium tag 0990. Satisfiability of Equality Equations 2020.06.08
medium tag 剑指offer 46. 把数字翻译成字符串 2020.06.09
easytag 0009. Palindrome Number 2020.06.10
easytag 0496. Next Greater Element I 2020.06.11
medium tag 0503. Next Greater Element II 2020.06.11
medium tag 0739. Daily Temperatures 2020.06.11
medium tag 0015. 3Sum 2020.06.12
easytag 0070. Climbing Stairs 2020.06.13
medium tag 0005. Longest Palindromic Substring 2020.06.13
medium tag 1300. Sum of Mutated Array Closest to Target 2020.06.14
easytag 0014. Longest Common Prefix 2020.06.15
medium tag 1014. Best Sightseeing Pair 2020.06.17
easytag 0125. Valid Palindrome 2020.06.19
hard tag 0010. Regular Expression Matching 2020.06.20
2020.10
easytag 剑指offer 03. 数组中重复的数字 2020.10.25
easytag 剑指offer 04. 二维数组中的查找 2020.10.25
easytag 剑指offer 05. 替换空格 2020.10.25
easytag 剑指offer 06. 从尾到头打印链表 2020.10.25
medium tag 剑指offer 07. 重建二叉树 2020.10.25
easytag 剑指offer 09. 用两个栈实现队列 2020.10.25
easytag 剑指offer 10-I. 斐波那契数列 2020.10.25
easytag 剑指offer 10-II. 青蛙跳台阶问题 2020.10.26
easytag 剑指offer 11. 旋转数组的最小数字 2020.10.26
medium tag 剑指offer 12. 矩阵中的路径 2020.10.26
medium tag 剑指offer 13. 机器人的运动范围 2020.10.28
medium tag 剑指offer 14-I. 剪绳子 2020.10.30
2020.11
medium tag 剑指offer 14-II. 剪绳子 II 2020.11.01
easytag 剑指offer 15. 二进制中1的个数 2020.11.02
medium tag 剑指offer 16. 数值的整数次方 2020.11.04
easytag 剑指offer 17. 打印从1到最大的n位数 2020.11.09
2020.12
easytag 剑指 Offer 18. 删除链表的节点 2020.12.17
hard tag 剑指 Offer 19. 正则表达式匹配 2020.12.24
medium tag 剑指 Offer 20. 表示数值的字符串 2020.12.25
easytag 剑指 Offer 21. 调整数组顺序使奇数位于偶数前面 2020.12.25
easytag 剑指 Offer 22. 链表中倒数第k个节点 2020.12.25
easytag 剑指 Offer 24. 反转链表 2020.12.25
easytag 剑指 Offer 25. 合并两个排序的链表 2020.12.25
medium tag 剑指 Offer 26. 树的子结构 2020.12.25
easytag 剑指 Offer 27. 二叉树的镜像 2020.12.25
easytag 剑指 Offer 28. 对称的二叉树 2020.12.25
easytag 剑指 Offer 29. 顺时针打印矩阵 2020.12.25
easytag 剑指 Offer 30. 包含min函数的栈 2020.12.25
medium tag 剑指 Offer 31. 栈的压入、弹出序列 2020.12.25
medium tag 剑指 Offer 32-I. 从上到下打印二叉树 2020.12.26
easytag 剑指 Offer 32-II. 从上到下打印二叉树 II 2020.12.26
medium tag 剑指 Offer 32-III. 从上到下打印二叉树 III 2020.12.26
medium tag 剑指 Offer 33. 二叉搜索树的后序遍历序列 2020.12.26
medium tag 剑指 Offer 34. 二叉树中和为某一值的路径 2020.12.26
medium tag 剑指 Offer 35. 复杂链表的复制 2020.12.26
medium tag 剑指 Offer 36. 二叉搜索树与双向链表 2020.12.27
hard tag 剑指 Offer 37. 序列化二叉树 2020.12.27
medium tag 剑指 Offer 38. 字符串的排列 2020.12.27
easytag 剑指 Offer 39. 数组中出现次数超过一半的数字 2020.12.27
easytag 剑指 Offer 40. 最小的k个数 2020.12.27
hard tag 剑指 Offer 41. 数据流中的中位数 2020.12.27
easytag 剑指 Offer 42. 连续子数组的最大和 2020.12.27
hard tag 剑指 Offer 43. 1~n 整数中 1 出现的次数 2020.12.27
medium tag 剑指 Offer 44. 数字序列中某一位的数字 2020.12.28
medium tag 剑指 Offer 45. 把数组排成最小的数 2020.12.28
medium tag 剑指 Offer 46. 把数字翻译成字符串 2020.12.28
medium tag 剑指 Offer 47. 礼物的最大价值 2020.12.28
medium tag 剑指 Offer 48. 最长不含重复字符的子字符串 2020.12.29
medium tag 剑指 Offer 49. 丑数 2020.12.29
easytag 剑指 Offer 50. 第一个只出现一次的字符 2020.12.31
hard tag 剑指 Offer 51. 数组中的逆序对 2020.12.31
easytag 剑指 Offer 52. 两个链表的第一个公共节点 2020.12.31
easytag 剑指 Offer 53 - I. 在排序数组中查找数字 I 2020.12.31
easytag 剑指 Offer 53 - II. 0~n-1中缺失的数字 2020.12.31
easytag 剑指 Offer 54. 二叉搜索树的第k大节点 2020.12.31
easytag 剑指 Offer 55 - I. 二叉树的深度 2020.12.31
easytag 剑指 Offer 55 - II. 平衡二叉树 2020.12.31
2021.01
easytag 0605. Can Place Flowers 2020.01.01
medium tag 剑指 Offer 56 - I. 数组中数字出现的次数 2020.01.01
medium tag 剑指 Offer 56 - II. 数组中数字出现的次数 II 2020.01.01
easytag 剑指 Offer 57 - I. 和为s的两个数字 2020.01.01
hard tag 239. Sliding Window Maximum 2020.01.02
medium tag 0086. Partition List 2020.01.03
easytag 0509. Fibonacci Number 2020.01.04
easytag 剑指 Offer 57 - II.和为s的连续正数序列 2020.01.04
easytag 剑指 Offer 58 - I. 翻转单词顺序 2020.01.04
easytag 剑指 Offer 58 - II. 左旋转字符串 2020.01.04
easytag 剑指 Offer 59 - I. 滑动窗口的最大值 2020.01.04
easytag 0830. Positions of Large Groups 2020.01.05
medium tag 剑指 Offer 59 - II. 队列的最大值 2020.01.05
medium tag 剑指 Offer 60. n个骰子的点数 2020.01.05
easytag 剑指 Offer 61. 扑克牌中的顺子 2020.01.05
easytag 剑指 Offer 62. 圆圈中最后剩下的数字 2020.01.05
medium tag 剑指 Offer 63. 股票的最大利润 2020.01.05
easytag 剑指 Offer 65. 不用加减乘除做加法 2020.01.05
medium tag 0399. Evaluate Division 2020.01.06
medium tag 剑指 Offer 66. 构建乘积数组 2020.01.06
medium tag 剑指 Offer 67. 把字符串转换成整数 2020.01.06
easytag 剑指 Offer 68 - I. 二叉搜索树的最近公共祖先 2020.01.06
easytag 剑指 Offer 68 - II. 二叉树的最近公共祖先 2020.01.06
medium tag 0547. Number of Provinces 2020.01.07
easytag 1260. Shift 2D Grid 2020.01.08
hard tag 0123. Best Time to Buy and Sell Stock III 2020.01.09
easytag 0228. Summary Ranges 2020.01.10
medium tag 1202. Smallest String With Swaps 2020.01.11
medium tag 0207. Course Schedule 2020.01.12
medium tag 0210. Course Schedule II 2020.01.12
medium tag 0444. Sequence Reconstruction 2020.01.12
hard tag 1203. Sort Items by Groups Respecting Dependencies 2020.01.12
medium tag 0684. Redundant Connection 2020.01.13
easytag 1018. Binary Prefix Divisible By 5 2020.01.14
easytag 面试题 01.01. Is Unique LCCI 2020.01.14
easytag 面试题 01.02. Check Permutation LCCI 2020.01.14
easytag 面试题 01.03. String to URL LCCI 2020.01.14
easytag 面试题 01.04. Palindrome Permutation LCCI 2020.01.14
medium tag 面试题 01.05. One Away LCCI 2020.01.14
medium tag 0947. Most Stones Removed with Same Row or Column 2020.01.15
hard tag 0803. Bricks Falling When Hit 2020.01.16
easytag 1232. Check If It Is a Straight Line 2020.01.17
medium tag 0721. Accounts Merge 2020.01.18
easytag 175. Combine Two Tables 2020.01.18
medium tag 1584. Min Cost to Connect All Points 2020.01.19
medium tag 0322. Coin Change 2020.01.19
medium tag 0518. Coin Change 2 2020.01.19
medium tag 面试题 16.25. LRU Cache LCCI 2020.01.19
medium tag 面试题 02.05. Sum Lists LCCI 2020.01.19
easytag 面试题 01.06. Compress String LCCI 2020.01.19
easytag 面试题 02.03. Delete Middle Node LCCI 2020.01.19
easytag 面试题 02.02. Kth Node From End of List LCCI 2020.01.19
easytag 0628. Maximum Product of Three Numbers 2020.01.20
medium tag 0215. Kth Largest Element in an Array 2020.01.20
medium tag 面试题 16.26. Calculator LCCI 2020.01.20
medium tag 面试题 08.09. Bracket LCCI 2020.01.20
easytag 面试题 10.01. Sorted Merge LCCI 2020.01.20
hard tag 1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree 2020.01.21
easytag 0053. Maximum Subarray 2020.01.21
easytag 0989. Add to Array-Form of Integer 2020.01.22
medium tag 1319. Number of Operations to Make Network Connected 2020.01.23
easytag 1732. Find the Highest Altitude 2021.01.23
medium tag 1733. Minimum Number of People to Teach 2021.01.23
medium tag 1734. Decode XORed Permutation 2021.01.23
hard tag 1735. Count Ways to Make Array With Product 2021.01.23
easytag 1720. Decode XORed Array 2021.01.24
easytag 0674. Longest Continuous Increasing Subsequence 2021.01.24
medium tag 0959. Regions Cut By Slashes 2021.01.25
easytag 1128. Number of Equivalent Domino Pairs 2021.01.26
hard tag 1579. Remove Max Number of Edges to Keep Graph Fully Traversable 2021.01.27
easytag 0724. Find Pivot Index 2021.01.28
easytag 0206. Reverse Linked List 2021.01.28
easytag 0812. Largest Triangle Area 2021.01.28
medium tag 0019. Remove Nth Node From End of List 2021.01.28
medium tag 1631. Path With Minimum Effort 2021.01.29
hard tag 0778. Swim in Rising Water 2021.01.30
easytag 1742. Maximum Number of Balls in a Box 2021.01.31
medium tag 1743. Restore the Array From Adjacent Pairs 2021.01.31
medium tag 1744. Can You Eat Your Favorite Candy on Your Favorite Day? 2021.01.31
hard tag 1745. Palindrome Partitioning IV 2021.01.31
2021.02
easytag 0888. Fair Candy Swap 2021.02.01
hard tag 0839. Similar String Groups 2021.02.01
medium tag 0424. Longest Repeating Character Replacement 2021.02.02
hard tag 0480. Sliding Window Median 2021.02.03
easytag 0643. Maximum Average Subarray I 2021.02.04
medium tag 1208. Get Equal Substrings Within Budget 2021.02.05
medium tag 1423. Maximum Points You Can Obtain from Cards 2021.02.06
easytag 1736. Latest Time by Replacing Hidden Digits 2021.02.06
medium tag 1737. Change Minimum Characters to Satisfy One of Three Conditions 2021.02.06
medium tag 1738. Find Kth Largest XOR Coordinate Value 2021.02.06
hard tag 1739. Building Boxes 2021.02.06
easytag 0665. Non-decreasing Array 2021.02.07
easytag 0485. Max Consecutive Ones 2021.02.15
medium tag 0978. Longest Turbulent Subarray 2021.02.21
easytag 0832. Flipping an Image 2020.02.24
easytag 0867. Transpose Matrix 2020.02.25
hard tag 1052. Grumpy Bookstore Owner 2021.02.26
medium tag 0395. Longest Substring with At Least K Repeating Characters 2021.02.27
easytag 1773. Count Items Matching a Rule 2021.02.28
medium tag 1774. Closest Dessert Cost 2021.02.28
medium tag 1775. Equal Sum Arrays With Minimum Number of Operations 2021.02.28
hard tag 1776. Car Fleet II 2021.02.28
2021.03
easytag 0303. Range Sum Query - Immutable 2021.03.01
medium tag 0304. Range Sum Query 2D - Immutable 2021.03.02
medium tag 0338. Counting Bits 2021.03.03
easytag 1779. Find Nearest Point That Has the Same X or Y Coordinate 2021.03.06
medium tag 1780. Check if Number is a Sum of Powers of Three 2021.03.06
medium tag 1781. Sum of Beauty of All Substrings 2021.03.06
hard tag 1782. Count Pairs Of Nodes 2021.03.06
easytag 1784. Check if Binary String Has at Most One Segment of Ones 2021.03.07
medium tag 1785. Minimum Elements to Add to Form a Given Sum 2021.03.07
medium tag 1786. Number of Restricted Paths From First to Last Node 2021.03.07
hard tag 1787. Make the XOR of All Segments Equal to Zero 2021.03.07
hard tag 224. Basic Calculator 2021.03.10
medium tag 227. Basic Calculator II 2021.03.11
easytag 1790. Check if One String Swap Can Make Strings Equal 2021.03.14
medium tag 1791. Find Center of Star Graph 2021.03.14
medium tag 1792. Maximum Average Pass Ratio 2021.03.14
hard tag 1793. Maximum Score of a Good Subarray 2021.03.14
easytag 1796. Second Largest Digit in a String 2021.03.20
medium tag 1797. Design Authentication Manager 2021.03.20
medium tag 1798. Maximum Number of Consecutive Values You Can Make 2021.03.20
hard tag 1799. Maximize Score After N Operations 2021.03.20
easytag 0191. Number of 1 Bits 2021.03.22
easytag 0083. Remove Duplicates from Sorted List 2021.03.26
easytag 0190. Reverse Bits 2021.03.29
2021.04
medium tag 1006. Clumsy Factorial 2021.04.01
medium tag 0081. Search in Rotated Sorted Array II 2021.04.08
2021.06
medium tag 0331. Verify Preorder Serialization of a Binary Tree 2021.06.23
easytag 0705. Design HashSet 2021.06.23
easytag 0706. Design HashSet 2021.06.24
easytag 0168. Excel Sheet Column Title 2021.06.29
2021.07
easytag LCP 07. 传递信息 2021.07.01
easytag 0645. Set Mismatch 2021.07.04
easytag 0283. Move Zeroes 2021.07.19
easytag 0118. Pascal's Triangle 2021.07.20
easytag 1710. Maximum Units on a Truck 2021.07.23
easytag 1893. Check if All the Integers in a Range Are Covered 2021.07.23
easytag 0415. Add Strings 2021.07.25
easytag 0455. Assign Cookies 2021.07.26
easytag 0088. Merge Sorted Array 2021.07.27
2022.08
medium tag 0659. Split Array into Consecutive Subsequences 2022.08.19

waitlist

Difficulty Title Date
hard tag 面试题 17.24. Max Submatrix LCCI 2020.01.22
medium tag 面试题 17.14. Smallest K LCCI 2020.01.22
medium tag 面试题 01.07. Rotate Matrix LCCI 2020.01.22
easytag 面试题 02.07. Intersection of Two Linked Lists LCCI 2020.01.22

contest

Title Date
2021.01.23 - 第 44 场双周赛 2021.01.23
2021.01.24 - 第 225 场周赛 2021.01.24
2021.01.31 - 第 226 场周赛 2021.01.31
2021.02.28 - 第 230 场周赛 2021.02.28
2021.03.06 - 第 47 场周赛 2021.03.06
2021.03.07 - 第 231 场周赛 2021.03.07
2021.03.14 - 第 232 场周赛 2021.03.14
2021.03.20 - 第 48 场周赛 2021.03.20
2021.03.21 - 第 233 场周赛 2021.03.21