JellyZhang/leetcode

leetcode by jelly

โ˜… 1Forks 0GoGitHub โ†—Compare

README

Leetcode Summary

Author: Jelly.

If this repo helps you, please give it a ๐ŸŒŸ. Thanks.

Gitbook link:https://zhangjelly0405.gitbook.io/leetcode/

Github link:https://github.com/JellyZhang/leetcode

Important Questions

# Title Importance
Array
4 Median of Two Sorted Arrays โ˜…โ˜…โ˜…โ˜…โ˜…
11 Container With Most Water โ˜…โ˜…โ˜…
15 3Sum โ˜…โ˜…โ˜…โ˜…โ˜…
81 Search in Rotated Sorted Array II โ˜…โ˜…โ˜…โ˜…โ˜…
41 First Missing Positive โ˜…โ˜…โ˜…โ˜…โ˜…
42 Trapping Rain Water โ˜…โ˜…โ˜…โ˜…โ˜…
56 Merge Intervals โ˜…โ˜…โ˜…โ˜…โ˜…
60 Permutation Sequence โ˜…โ˜…โ˜…
154 Find Minimum in Rotated Sorted Array II โ˜…โ˜…โ˜…โ˜…
215 Kth Largest Element in an Array โ˜…โ˜…โ˜…โ˜…โ˜…
315 Count of Smaller Numbers After Self โ˜…โ˜…โ˜…
188 Best Time to Buy and Sell Stock IV โ˜…โ˜…โ˜…โ˜…โ˜…
862 Shortest Subarray with Sum at Least K โ˜…โ˜…โ˜…โ˜…โ˜…
51 Maximum Subarray โ˜…โ˜…โ˜…โ˜…โ˜…
300 Longest Increasing Subsequence โ˜…โ˜…โ˜…โ˜…โ˜…
43 Multiply Strings โ˜…โ˜…โ˜…โ˜…
String
3 Longest Substring Without Repeating Characters โ˜…โ˜…โ˜…
5 Longest Palindromic Substring โ˜…โ˜…โ˜…
8 String to Integer (atoi) โ˜…โ˜…โ˜…โ˜…
28 Implement strStr() โ˜…โ˜…โ˜…โ˜…โ˜…
32 Longest Valid Parentheses
LinkList
2 Add Two Numbers โ˜…โ˜…โ˜…
23 Merge k Sorted Lists โ˜…โ˜…โ˜…
25 Reverse Nodes in k-Group โ˜…โ˜…โ˜…โ˜…โ˜…
142 Linked List Cycle II โ˜…โ˜…โ˜…
143 Reorder List โ˜…โ˜…โ˜…โ˜…
Tree
230 Kth Smallest Element in a BST โ˜…โ˜…
98 Validate Binary Search Tree โ˜…โ˜…โ˜…
102 Binary Tree Level Order Traversal โ˜…โ˜…โ˜…
94 Binary Tree Inorder Traversal โ˜…โ˜…โ˜…โ˜…โ˜…
144 Binary Tree Preorder Traversal โ˜…โ˜…โ˜…โ˜…โ˜…
145 Binary Tree Postorder Traversal โ˜…โ˜…โ˜…โ˜…โ˜…
236 Lowest Common Ancestor of a Binary Tree โ˜…โ˜…โ˜…
DP
10 Regular Expression Matching โ˜…โ˜…โ˜…โ˜…
44 Wildcard Matching โ˜…โ˜…โ˜…โ˜…
72 Edit Distance โ˜…โ˜…โ˜…โ˜…
132 Palindrome Partitioning II โ˜…โ˜…โ˜…
338 Counting Bits โ˜…โ˜…โ˜…
877 Stone Game โ˜…โ˜…โ˜…โ˜…
1043 Partition Array for Maximum Sum โ˜…โ˜…โ˜…
1406 Stone Game III โ˜…โ˜…โ˜…โ˜…
416 Partition Equal Subset Sum โ˜…โ˜…โ˜…โ˜…
DFS/BFS
40 Combination Sum II โ˜…โ˜…โ˜…
31 Next Permutation โ˜…โ˜…โ˜…โ˜…โ˜…
47 Permutations II โ˜…โ˜…โ˜…โ˜…
131 Palindrome Partitioning โ˜…โ˜…
Bit Operation
371 Sum of Two Integers โ˜…โ˜…
Others
29 Divide Two Integers โ˜…โ˜…โ˜…
50 Pow(x, n) โ˜…โ˜…โ˜…
69 Sqrt(x) โ˜…โ˜…โ˜…
133 Clone Graph โ˜…โ˜…โ˜…
969 Pancake Sorting โ˜…โ˜…โ˜…
224 Basic Calculator โ˜…โ˜…โ˜…โ˜…
547 Friend Circles โ˜…โ˜…โ˜…โ˜…
146 LRU Cache โ˜…โ˜…โ˜…โ˜…

Contributors

JellyZhang

Issues