Skip to content

HoqiheChen/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

LeetCode

​ 自己刷LeetCode整理的一些题解笔记。

​ 每道题使用Java实现。

​ 有什么错误及不足之处欢迎指出。

​ ----------------------- 开始备战秋招,每日必刷2题! --------------------

ID Title Difficulty Tag
1 Two Sum easy
2 Add Two Numbers medium
5 Longest Palindromic Substring medium
7 Reverse Integer easy
11 Container With Most Water medium
17 Letter Combinations of a Phone Number medium Backtracking
19 Remove Nth Node From End of List medium Linked List
20 Valid Parentheses easy
21 Merge Two Sorted Lists easy Linked List
22 Generate Parentheses medium
26 Remove Duplicates from Sorted Array easy
27 Remove Element easy
33 Search in Rotated Sorted Array medium
34 Find First and Last Position of Element in Sorted Array medium
37 Sudoku Solver hard
39 Combination Sum medium
41 First Missing Positive hard
42 Trapping Rain Water hard
45 Jump Game II hard
46 Permutations medium
48 Rotate Image medium
49 Group Anagrams medium
51 N-Queens hard
53 Maximum Subarray easy Dynamic Programming
55 Jump Game medium
56 Merge Intervals medium
62 Unique Paths medium Dynamic Programming
70 Climbing Stairs easy
72 Edit Distance hard Dynamic Programming
75 Sort Colors medium
78 Subsets medium
79 Word Search medium Backtracking
80 Remove Duplicates from Sorted Array II medium
84 Largest Rectangle in Histogram hard
94 Binary Tree Inorder Traversal medium Tree
96 Unique Binary Search Trees medium Tree
98 Validate Binary Search Tree medium Tree
100 Same Tree easy Tree
101 Symmetric Tree easy Tree
102 Binary Tree Level Order Traversal medium Tree
104 Maximum Depth of Binary Tree easy Tree
105 Construct Binary Tree from Preorder and Inorder Traversal medium Tree
106 Construct Binary Tree from Inorder and Postorder Traversal medium Tree
107 Binary Tree Level Order Traversal II easy Tree
110 Balanced Binary Tree easy Tree
111 Minimum Depth of Binary Tree medium Tree
112 Path Sum easy Tree
114 Flatten Binary Tree to Linked List medium
121 Best Time to Buy and Sell Stock easy
122 Best Time to Buy and Sell Stock II medium
125 Valid Palindrome easy
128 Longest Consecutive Sequence hard
136 Single Number easy Bit Manipulation
139 Word Break medium
141 Linked List Cycle easy Linked List
142 Linked List Cycle II medium
146 LRU Cache medium
155 Min Stack easy
160 Intersection of Two Linked Lists east Linked List
169 Majority Element easy Array
198 House Robber easy Dynamic Programming
200 Number of Islands medium
206 Reverse Linked List easy Linked List
207 Course Schedule medium
208 Implement Trie (Prefix Tree) medium
221 Maximal Square medium
226 Invert Binary Tree easy Tree
234 Palindrome Linked List easy Linked List
235 Lowest Common Ancestor of a Binary Search Tree easy
236 Lowest Common Ancestor of a Binary Tree medium
238 Product of Array Except Self medium
239 Sliding Window Maximum hard
240 Search a 2D Matrix II medium
257 Binary Tree Paths easy
279 Perfect Squares medium
283 Move Zeroes easy Array
287 Find the Duplicate Number medium
295 Find Median from Data Stream hard
297 Serialize and Deserialize Binary Tree hard
300 Longest Increasing Subsequence medium
301 Remove Invalid Parentheses hard
309 Best Time to Buy and Sell Stock with Cooldown medium
312 Burst Balloons hard
315 Count of Smaller Numbers After Self hard
322 Coin Change medium
337 House Robber III medium
338 Counting Bits medium
344 Reverse String easy
347 Top K Frequent Elements medium
394 Decode String medium
406 Queue Reconstruction by Height medium
416 Partition Equal Subset Sum medium
429 N-ary Tree Level Order Traversal medium
437 Path Sum Ⅲ easy Tree
448 Find All Numbers Disappeared in an Array easy Array
461 Hamming Distance easy Bit Manipulation
494 Target Sum medium
513 Find Bottom Left Tree Value medium Tree
515 Find Largest Value in Each Tree Row medium Tree
538 Convert BST to Greater Tree easy Tree
543 Diameter of Binary Tree easy Tree
547 Friend Circles medium
559 Maximum Depth of N-ary Tree easy Tree
560 Subarray Sum Equals K medium
572 SubTree of Another Tree easy Tree
581 Shortest Unsorted Continuous Subarray easy
617 Merge Two Binary Trees easy Tree
621 Task Scheduler medium
647 Palindromic Substrings medium
714 Best Time to Buy and Sell Stock with Transaction Fee medium
739 Daily Temperatures medium
752 Open the Lock medium
773 Sliding Puzzle hard
994 Rotting Oranges medium BFS

About

自己刷LeetCode整理的一些题解笔记

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published