Leetcode
Last updated
Last updated
This notebook records the Leetcode problems I have solved.
In chronological order:
Date | Problem | type |
---|---|---|
In numerical order:
https://books.halfrost.com/leetcode/
Number | Title | Difficulty |
---|---|---|
5/15/2022
3Sum, 3Sum Closest
array
5/16/2022
Longest Substring Without Repeating Characters, Longest Palindromic Substring
string
5/17/2022
Container With Most Water, Remove Nth Node From End of List
two pointers
5/18/2022
Add Two Numbers, Merge Two Sorted Lists
linked list
5/19/2022
Valid Parentheses
stack
5/20/2022
Simplify Path
stack
5/21/2022
Binary Tree Inorder Traversal, Unique Binary Search Trees
tree
5/27/2022
Generate Parentheses
dynamic programming
7/27/2022
Letter Combinations of a Phone Number
Backtracking
7/29/2022
Combination Sum
Backtracking
8/16/2022
Validate Binary Search Tree
DFS
8/17/2022
Recover Binary Search Tree
DFS
8/18/2022
Same Tree, Symmetric Tree
BFS
8/19/2022
Search in Rotated Sorted Array
Binary Search
8/20/2022
Linked List Cycle II
Linked List
8/22/2022
First Bad Version, Sqrt(x), Search Insert Position
Binary Search
8/25/2022
Capacity to Ship Packages Within D Days
Binary Search
8/27/2022
Reverse Integer, Palindrome Number, Two Sum
Math, Hash Table
9/8/2022
Group Anagrams, Merge Intervals
Sorting
9/10/2022
Add Binary
Bit Manipulation
9/17/2022
Longest Consecutive Sequence
Union Find
01/22/2024
Merge Strings Alternately, Reverse Words in a String
String
01/23/2024
Greatest Common Divisor of Strings, Product of Array Except Self
String, Array
01/24/2024
Kids With the Greatest Number of Candies, Increasing Triplet Subsequence
Array
08/03/2024
Reverse Vowels of a String
Two Pointers
1
Easy
2
Medium
3
Medium
5
Medium
7
Medium
9
Easy
11
Medium
15
Medium
16
Medium
17
Medium
19
Medium
20
Easy
21
Easy
22
Medium
33
Medium
35
Easy
39
Medium
49
Medium
56
Medium
67
Easy
69
Easy
71
Medium
94
Easy
96
Medium
98
Medium
99
Medium
100
Easy
101
Easy
128
Medium
142
Medium
151
Medium
238
Medium
278
Easy
334
Medium
345
Easy
1011
Medium
1071
Easy
1431
Easy
1768
Easy