Giter VIP home page Giter VIP logo

leetcode's Introduction

leetcode

A personal history of leetcode

Java

Feb 29

✅ 46. Permutations
✅ 70. Climbing Stairs
✅ 62. Unique Paths

Feb 24

✅ 54. Spiral Matrix
✅ 56. Merge Intervals
✅ 57. Insert Interval 【hard】
✅ 59. Spiral Matrix II

Feb 23

✅ 🌟 45. Jump Game II 【greedy】
✅ 48. Rotate Image
✅ 49. Group Anagrams
✅ 50. Pow(x, n)
✅ 53. Maximum Subarray
✅ 55. Jump Game

Feb 21

✅ 41. First Missing Positive

water problems - dp
✅ 🌟 42. Trapping Rain Water
✅ 238. Product of Array Except Self
11
❎ 407

Feb 20

✅ 35. Search Insert Position
✅ 36. Valid Sudoku
✅ 37. Sudoku Solver
✅ 38. Count and Say

Feb 17-18

✅ 131. Palindrome Partitioning
✅ 40. Combination Sum II
✅ 31. Next Permutation
✅ 33. Search in Rotated Sorted Array
✅ 34. Find First and Last Position of Element in Sorted Array

Feb 13-14

Permutation
✅ 31. Next Permutation
✅ 46. Permutations
✅ 78. Subsets
✅ 90. Subsets II

✅ 200. Number of Islands

Feb 12

✅ 28. Implement strStr()

拓扑排序
✅ 207. Course Schedule
✅ 210. Course Schedule II
❎ 329. Longest Increasing Path in a Matrix

❎ 29, 23

Feb 11

括号题
✅ 20. Valid Parentheses
✅ 22. Generate Parentheses
✅ 🌟 856. Score of Parentheses
✅ 🌟 241. Different Ways to Add Parentheses

✅ 26. Remove Duplicates from Sorted Array
✅ 27. Remove Element

❎ 🌟 301

Feb 10

复习6题,新题2题
✅ 15. 3Sum
✅ 18. 4Sum
✅ 20. Valid Parentheses

Feb 9

复习7题,新题3题
✅ 15. 3Sum
✅ 12. Integer to Roman
✅ 13. Roman to Integer
✅ 8. String to Integer (atoi)
✅ 17. Letter Combinations of a Phone Number
✅ 18. 4Sum

❎ 🌟 10

Feb 8

复习6题,新题2题
✅ tree - dfs, bfs, construct binary search tree
✅ 11. Container With Most Water

========================================================

problems that need to review

670 46 47 36 .
284, 211, 208, 212, 999, 399, 481, 498, 500,
451, 452, 453, 454, 455, 456, 457, 458, 461,
513, 515, 516, 518, 520, 521, 522, 523, 524,

=========================================================

Python

array

277, 220, 45, 121, 122, 123, 309, 11

math

29, 165, 8, 50, 365, 204

tree

124, 250, 366, 337, 235, 173, 297, 285, 270, 272, 99

linked list

369,

important

  • array: 220,
  • word pattern match 205, 290
  • linked list cycle 141, 142
  • slow and quick pointers 26
  • recursive / iterative (tree) 144, 110
  • linked list: 24, 92, 160, 143, 148, 25, 23
  • binary search 33, 153, 162
  • other: 406,

Aug

8.11

287 Find the Duplicate Number
56. Merge Intervals

8.8

55.Jump Game

8.5

229.Majority Element II 【摩尔枚举:n个数取k个值】
274. H-Index
275. H-Index II
217. Contains Duplicate
219. Contains Duplicate II [star]

8.4

299.Bulls and Cows
134. Gas Station
118. Pascal's Triangle
119. Pascal's Triangle II
169. Majority Element

July

7.29 [review]

27, 26, 80, 189,
41. First Missing Positive

7.28

39.Combination Sum
40. Combination Sum II
48. Rotate Image
54. Spiral Matrix
59. Spiral Matrix II

7.26

14.Longest Common Prefix
15. 3Sum
16. 3Sum Closest
18. 4Sum
22. Generate Parentheses

7.25

16.3Sum Closest

7.23

832.Flipping an Image
12. Integer to Roman

7.22

647.Palindromic Substrings
17. Letter Combinations of a Phone Number

7.21

78.Subsets
90. Subsets II
338. Counting Bits
406. Queue Reconstruction by Height

7.18

226.Invert Binary Tree
257. Binary Tree Paths
112. Path Sum

7.16 recursion - review

100.Same Tree
101. Symmetric Tree

7.14

147.Insertion Sort List
278. First Bad Version
35. Search Insert Position
33. Search in Rotated Sorted Array
81. Search in Rotated Sorted Array II
153. Find Minimum in Rotated Sorted Array
162. Find Peak Element
374. Guess Number Higher or Lower
34. Find First and Last Position of Element in Sorted Array
349. Intersection of Two Arrays

7.12

61.Rotate List
86. Partition List

7.10

142.Linked List Cycle II [fast and slow pointers]
148. Sort List 【merge sort】

7.9

203.Remove Linked List Elements
82. Remove Duplicates from Sorted List II
2. Add Two Numbers
21. Merge Two Sorted Lists
234. Palindrome Linked List

7.8

92.Reverse Linked List II .
237. Delete Node in a Linked List . ......
19. Remove Nth Node From End of List
83. Remove Duplicates from Sorted List 160. Intersection of Two Linked Lists

7.7

206.Reverse Linked List .
141. Linked List Cycle .
24. Swap Nodes in Pairs .
328. Odd Even Linked List

7.6

109.Convert Sorted List to Binary Search Tree .
230. Kth Smallest Element in a BST .
98. Validate Binary Search Tree .
125. Valid Palindrome .
429. N-ary Tree Level Order Traversal

7.4

107.Binary Tree Level Order Traversal II .
103. Binary Tree Zigzag Level Order Traversal .
199. Binary Tree Right Side View .
226. Invert Binary Tree .
404. Sum of Left Leaves .
235. Lowest Common Ancestor of a Binary Search Tree .
236. Lowest Common Ancestor of a Binary Tree (same as 235...) .
108. Convert Sorted Array to Binary Search Tree .

7.3

110.Balanced Binary Tree (balanced binary tree) 【two recursion】

7.2

257.Binary Tree Paths
112. Path Sum
113. Path Sum II
129. Sum Root to Leaf Numbers
111. Minimum Depth of Binary Tree
104. Maximum Depth of Binary Tree

7.1

145.Binary Tree Postorder Traversal [review] postorder: preorder(root->right->left) then reverse
102. Binary Tree Level Order Traversal
100. Same Tree
101. Symmetric Tree

6.30

144.Binary Tree Preorder Traversal [review] [preorder]
z94. Binary Tree Inorder Traversal [inorder]
145. Binary Tree Postorder Traversal [postorder]

6.29

200.Number of Islands
66.Plus One
144.Binary Tree Preorder Traversal

6.28

7.Reverse Integer

6.27

189.Rotate Array
258.Add Digits (simple recursion)
231.Power of Two

6.26

27.Remove Element
26. Remove Duplicates from Sorted Array
80. Remove Duplicates from Sorted Array II

6.25

387.First Unique Character in a String
383. Ransom Note
345. Reverse Vowels of a String

6.23

242.Valid Anagram
49. Group Anagrams
168. Excel Sheet Column Title
171. Excel Sheet Column Number

6.22

13.Roman to Integer
67. Add Binary
344. Reverse String
151. Reverse Words in a String
345. Reverse Vowels of a String

6.21

28.Implement strStr()
58. Length of Last Word

6.19

169.Majority Element
229. Majority Element II
274. H-Index
275. H-Index II

6.17

81.Search in Rotated Sorted Array II
33. Search in Rotated Sorted Array

6.9

771.Jewels and Stones [hash table]
3.
890. Find and Replace Pattern

6.7

11.Container With Most Water [medium star]

6.4

172.factorial-trailing-zeroes [tricky issue]
169. Majority Element

6.3

121.Best Time to Buy and Sell Stock [review]
136. single-number 异或^:XOR 相同为0,不同为1,0与任何数^为0
167. two-sum-ii-input-array-is-sorted

6.2

  1. Best Time to Buy and Sell Stock

5.23

20.valid parentheses [review]
26. remove duplicates in a sorted array

5.18

  1. valid parentheses

leetcode's People

Contributors

jingyiz9 avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.