LuXiaoEei / MyLeetCode

Repository from Github https://github.comLuXiaoEei/MyLeetCodeRepository from Github https://github.comLuXiaoEei/MyLeetCode

MyLeetCode

记录自己的leetcode脚印 基于python

自己与自己共勉!

2018.3.3

  1. TwoSum 【easy】
  2. Longest-Substring-Without-Repeating-Characters 【median】
  3. Longest-Palindromic-Substring 【median】
  4. ZigZag-Conversion 【median】
  5. Reverse-Integer 【easy】
  6. Median of Two Sorted Arrays 【hard】

2018.3.4

  1. Palindrome Number 【easy】
  2. Container With Most Water 【median】
  3. Integer to Roman 【median】
  4. 3Sum 【median】

2018.3.5

  1. Add Two Numbers 【median】
  2. Remove Nth Node From End of List 【median】
  3. 3Sum Closest 【median】
  4. Letter Combinations of a Phone Numbe 【median】
  5. 4Sum 【median】

2018.3.6

  1. Roman to Integer 【easy】
  2. Longest Common Prefix 【easy】
  3. Valid Parentheses 【median】
  4. Merge Two Sorted Lists 【easy】
  5. Generate Parentheses 【easy】
  6. Merge k Sorted Lists 【median】
  7. Swap Nodes in Pairs 【median】

2018.3.7

  1. Divide Two Integers 【median】
  2. Substring with Concatenation of All Words 【hard】
  3. Next Permutation 【median】
  4. Search in Rotated Sorted Array 【median】
  5. Search for a Range 【median】
  6. Valid Sudoku 【median】
  7. Combination Sum 【median】
  8. Combination Sum II 【median】
  9. Multiply Strings 【median】

2018.3.9

  1. Permutations 【median】
  2. Permutations II 【median】
  3. Rotate Image 【median】
  4. Group Anagrams 【median】
  5. Pow(x, n) 【median】
  6. N-Queens 【hard】
  7. N-Queens II 【hard】

2018.3.10

  1. Spiral Matrix 【median】
  2. Jump Game 【median】
  3. Merge Intervals 【median】

2018.3.11

  1. Spiral Matrix II 【median】
  2. Permutation Sequence 【median】
  3. Rotate List 【median】

2018.3.12

  1. Remove Duplicates from Sorted Array 【easy】
  2. Remove Element 【easy】
  3. Implement strStr() 【easy】
  4. Search Insert Position 【easy】
  5. Unique Paths 【median】
  6. Unique Paths II 【median】
  7. Minimum Path Sum 【median】

2018.3.13

  1. Simplify Path 【median】
  2. Set Matrix Zeroes 【median】
  3. Search a 2D Matrix 【median】
  4. Search a 2D Matrix II 【median】
  5. Count and Say 【easy】

2018.3.14

  1. Sort Colors 【median】
  2. Combinations 【median】
  3. Subsets 【median】
  4. Word Search 【median】

2018.3.15

  1. Remove Duplicates from Sorted Array II 【median】
  2. Search in Rotated Sorted Array II 【median】
  3. Remove Duplicates from Sorted List II 【median】
  4. Remove Duplicates from Sorted List 【easy】

2018.3.16

  1. Partition List 【median】
  2. Gray Code 【median】
  3. Subsets II 【median】
  4. Decode Ways 【median】
  5. Maximum Subarray 【easy】

2018.3.17

  1. Reverse Linked List 【easy】
  2. Reverse Linked List II 【median】
  3. Binary Tree Inorder Traversal 【median】
  4. Unique Binary Search Trees 【easy】
  5. Unique Binary Search Trees II 【median】
  6. Restore IP Addresses 【median】

2018.3.18

  1. Length of Last Word 【easy】
  2. Plus One 【easy】
  3. Add Binary 【easy】
  4. Sqrt(x) 【easy】
  5. Climbing Stairs 【easy】
  6. Merge Sorted Array 【easy】
  7. Validate Binary Search Tree 【median】
  8. Same Tree 【easy】
  9. Binary Tree Level Order Traversal 【median】

2018.3.19

  1. Binary Tree Zigzag Level Order Traversal 【median】
  2. Construct Binary Tree from Preorder and Inorder Traversal 【median】
  3. Construct Binary Tree from Inorder and Postorder Traversal 【median】
  4. Convert Sorted List to Binary Search Tree 【median】
  5. Path Sum 【easy】
  6. Path Sum II 【median】

2018.3.20

  1. Flatten Binary Tree to Linked List 【median】
  2. Populating Next Right Pointers in Each Node 【median】
  3. Populating Next Right Pointers in Each Node II 【median】
  4. Triangle 【median】
  5. Best Time to Buy and Sell Stock 【easy】
  6. Best Time to Buy and Sell Stock II 【easy】
  7. Best Time to Buy and Sell Stock III 【hard】
  8. Word Ladder 【median】

2018.3.21

  1. Sum Root to Leaf Numbers 【median】
  2. Surrounded Regions 【median】
  3. Palindrome Partitioning 【median】
  4. Clone Graph 【median】
  5. Gas Station 【median】
  6. Single Number 【easy】

2018.3.22

  1. Single Number II 【median】
  2. Copy List with Random Pointer 【median】
  3. Word Break 【median】
  4. Linked List Cycle 【easy】
  5. Linked List Cycle II 【median】
  6. Reorder List 【median】
  7. Binary Tree Preorder Traversal 【median】

2018.3.23

  1. Insertion Sort List 【median】
  2. Sort List 【median】
  3. Evaluate Reverse Polish Notation 【median】

2018.3.24

  1. Reverse Words in a String 【median】

2018.3.25

  1. 乘积最大子序列 【median】
  2. 寻找旋转排序数组中的最小值 【median】
  3. 寻找旋转排序数组中的最小值II 【hard】

2018.3.26

  1. 最小栈 【easy】
  2. 相交链表 【easy】
  3. 寻找峰值 【median】
  4. 比较版本号 【median】
  5. 分数到小数 【median】
  6. 二叉搜索树迭代器 【median】
  7. 对称二叉树 【easy】
  8. 二叉树的最大深度 【easy】
  9. 二叉树的层次遍历 II 【easy】
  10. 将有序数组转换为二叉搜索树 【easy】
  11. 平衡二叉树 【easy】
  12. 二叉树的最小深度 【easy】

2018.3.27

  1. 帕斯卡三角形 【easy】
  2. 帕斯卡三角形 II 【easy】
  3. 验证回文字符串 【easy】
  4. 二叉树的后序遍历【hard】
  5. 第二高薪水 【easy】
  6. 第N高的薪水 【median】
  7. 分数排名 【median】
  8. 最大数 【median】
  9. 超过经理收入的员工 【easy】
  10. 从不订购的客户 【easy】
  11. 部门最高工资 【median】
  12. 重复的DNA序列 【median】

2018.3.28

  1. 连续出现的数字 【median】
  2. LRU 缓存机制【hard】
  3. 两数之和 II - 输入有序数组
  4. 组合两个表【easy】
  5. 部门前三收入【hard】
  6. 二叉树的右视图 【median】
  7. 岛屿的个数 【median】
  8. 课程表 【median】
  9. 课程表II 【median】

2018.3.29

  1. 大于给定和最短子数组 【median】

2018.3.30

  1. 实现 Trie (前缀树) 【median】

2018.3.31

  1. 添加与搜索单词 - 数据结构设计 【median】
  2. 打家劫舍 【easy】
  3. 打家劫舍 II 【median】
  4. 最短回文串【hard】
  5. 组合总和 III 【median】
  6. 删除链表中的元素【easy】

2018.4.1

  1. 存在重复【easy】
  2. 存在重复II【easy】
  3. 存在重复III 【median】

2018.4.2

  1. 最大正方形 【median】
  2. 完全二叉树的节点个数 【median】
  3. 矩形面积 【median】
  4. 基本计算器【hard】

2018.4.3

  1. 汇总范围 【median】

2018.4.4

  1. 二叉搜索树中第K小的元素 【median】

2018.4.5

  1. Different Ways to Add Parentheses 【median】
  2. 丑数【easy】
  3. 丑数 II 【median】

2018.4.7

  1. 除自身以外数组的乘积 【median】
  2. H指数 【median】
  3. H指数II 【median】

2018.4.8

  1. 完美平方数 【median】

2018.4.10

  1. Excel表列名称【easy】

2018.4.12

  1. 求众数【easy】
  2. 求众数 II 【median】
  3. 缺失数字 【median】

2018.4.13

180.旋转数组【easy】

2018.4.14

  1. Excel表列序号【easy】
  2. 阶乘后的零【easy】
  3. 颠倒二进制位【easy】
  4. 位1的个数 【easy】