標籤索引¶
這是本專案所有題目的標籤分類。
/Medium¶
143. Reorder List¶
33. Search in Rotated Sorted Array¶
3Sum¶
A1B2C3¶
Add Two Numbers¶
Adobe¶
- 0005. Longest Palindromic Substring
- 0011.Container With Most Water
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 128. Longest Consecutive Sequence
- 143. Reorder List
Algorithm¶
Algorithms¶
- Find Target Last Index
- Intersection of Two Sorted Arrays using In Place Approach
- Search Graph in Golang
Amazon¶
- 0002.Add Two Numbers
- 0005. Longest Palindromic Substring
- 0011.Container With Most Water
- 0019. Remove Nth Node From End of List
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 128. Longest Consecutive Sequence
- 138. Copy List with Random Pointer
- 143. Reorder List
- 33. Search in Rotated Sorted Array
- 74. Search a 2D Matrix
Apple¶
Array¶
- 0003.Longest Substring Without Repeating Characters
- 0011.Container With Most Water
- 0015. 3Sum
- 0027.Remove Element
- 0034. Find First and Last Position of Element in Sorted Array
- 0035.Search Insert Position
- 0059.Spiral Matrix II
- 0088.Merge Sorted Array
- 0167.Two Sum II Input Array Is Sorted
- 0217.Contains-Duplicate
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 128. Longest Consecutive Sequence
- 238. Product of Array Except Self
- 33. Search in Rotated Sorted Array
- 380. Insert Delete GetRandom O(1)
- 381.Insert Delete GetRandom O(1) Duplicates allowed
- 74. Search a 2D Matrix
- 875. Koko Eating Bananas
- Cyclic Rotation
- Solution 1.Two-Sum
Array & String¶
BFS¶
Backtracking¶
Balanced Binary Tree¶
Bank Requests¶
Best Time to Buy and Sell Stock¶
Binary Search¶
- 0034. Find First and Last Position of Element in Sorted Array
- 0167.Two Sum II Input Array Is Sorted
- 0300.Longest Increasing Subsequence
- 0354. Russian Doll Envelope
- 0704.Binary Search
- 0981.Time Based Key-Value Store
- 33. Search in Rotated Sorted Array
- 74. Search a 2D Matrix
- 875. Koko Eating Bananas
Binary Tree¶
Bit Manipulation¶
Bitwise Manipulation¶
Blind75¶
Bloomberg¶
- 0002.Add Two Numbers
- 0019. Remove Nth Node From End of List
- 138. Copy List with Random Pointer
- 143. Reorder List
- 74. Search a 2D Matrix
Breadth First Search¶
Climbing Stairs¶
CodeSignal¶
Codility¶
Coin Change¶
Concurrency¶
Construct Binary Tree from Preorder and Inorder Traversal¶
Container With Most Water¶
Contains Duplicate¶
Copy List with Random Pointer¶
Counting¶
DFS¶
DP¶
Design¶
Diameter of Binary Tree¶
Divide and Conquer¶
Dynamic Programming¶
- 0010.Regular-Expression-Matching
- 0072. Edit Distance
- 0300.Longest Increasing Subsequence
- 0322.Coin Change
- 0354. Russian Doll Envelope
- 0509.Fibonacci Number
- 1143.Longest Common Subsequence
- 516. Longest Palindromic Subsequence
- WeightedEditDistance
Easy¶
- 0001.Two Sum
- 0020. Valid Parentheses
- 0027.Remove Element
- 0028. Find the Index of the First Occurrence in a String
- 0035.Search Insert Position
- 0070.Climbing Stairs
- 0088.Merge Sorted Array
- 0104.Maximum Depth of Binary Tree
- 0121.Best Time to Buy and Sell Stock
- 0125. Valid Palindrome
- 0141.Linked List Cycle
- 0203.Remove Linked List Elements
- 0217.Contains-Duplicate
- 0242.Valid-Anagram
- 0283. Move Zeroes
- 0344.Reverse String
- 0409. Longest Palindrome
- 0509.Fibonacci Number
- 0543. Diameter of Binary Tree
- 0703. Kth Largest Element in a Stream
- 0704.Binary Search
- 0721.Accounts Merge
- 0733.Flood Fill
- 0876.Middle of the Linked List
- 100. Same Tree
- 1046. Last Stone Weight
- 110. Balanced Binary Tree
- 206. Reverse Linked List
- 226. Invert Binary Tree
- 412. Fizz Buzz
- 746. Min Cost Climbing Stairs
- Find Target Last Index
- Solution 1.Two-Sum
Easy/Medium/Hard¶
Edit Distance¶
Facebook¶
- 0002.Add Two Numbers
- 0005. Longest Palindromic Substring
- 0011.Container With Most Water
- 0019. Remove Nth Node From End of List
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 138. Copy List with Random Pointer
- 143. Reorder List
- 33. Search in Rotated Sorted Array
- 412. Fizz Buzz
- 74. Search a 2D Matrix
Find First and Last Position of Element in Sorted Array¶
Find Target Last Index¶
Find the Index of the First Occurrence in a String¶
Fizz Buzz¶
Fizz Buzz Multithreaded¶
Flood Fill¶
Go¶
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0005. Longest Palindromic Substring
- 0010.Regular-Expression-Matching
- 0011.Container With Most Water
- 0015. 3Sum
- 0019. Remove Nth Node From End of List
- 0020. Valid Parentheses
- 0021. Merge Two Sorted Lists
- 0028. Find the Index of the First Occurrence in a String
- 0034. Find First and Last Position of Element in Sorted Array
- 0049.Group Anagrams
- 0070.Climbing Stairs
- 0078. Subsets
- 0104.Maximum Depth of Binary Tree
- 0121.Best Time to Buy and Sell Stock
- 0125. Valid Palindrome
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 0167.Two Sum II Input Array Is Sorted
- 0215. Kth Largest Element in an Array
- 0217.Contains-Duplicate
- 0242.Valid-Anagram
- 0283. Move Zeroes
- 0322.Coin Change
- 0543. Diameter of Binary Tree
- 0695.Max Area of Island
- 0703. Kth Largest Element in a Stream
- 0733.Flood Fill
- 0981.Time Based Key-Value Store
- 100. Same Tree
- 1046. Last Stone Weight
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 110. Balanced Binary Tree
- 1195. Fizz Buzz Multithreaded
- 128. Longest Consecutive Sequence
- 138. Copy List with Random Pointer
- 143. Reorder List
- 206. Reverse Linked List
- 226. Invert Binary Tree
- 238. Product of Array Except Self
- 3223.Minimum-Length-of-String-After-Operations
- 33. Search in Rotated Sorted Array
- 347. Top K Frequent Elements
- 380. Insert Delete GetRandom O(1)
- 381.Insert Delete GetRandom O(1) Duplicates allowed
- 412. Fizz Buzz
- 74. Search a 2D Matrix
- 746. Min Cost Climbing Stairs
- 875. Koko Eating Bananas
- Bank Requests
- Binary Gap
- Cyclic Rotation
- Find Target Last Index
- Golang: container/heap
- NUM.LEETCODETITLE
- Solution 1.Two-Sum
Golang¶
- 0072. Edit Distance
- A1B2C3: Two Go Routine Print A1B2C3....Z26
- Intersection of Two Sorted Arrays using In Place Approach
- Search Graph in Golang
- WeightedEditDistance
Goldman Sachs¶
Google¶
- 0005. Longest Palindromic Substring
- 0011.Container With Most Water
- 0019. Remove Nth Node From End of List
- 128. Longest Consecutive Sequence
- 138. Copy List with Random Pointer
Greedy¶
Group Anagrams¶
Hard¶
- 0010.Regular-Expression-Matching
- 0072. Edit Distance
- 0354. Russian Doll Envelope
- 381.Insert Delete GetRandom O(1) Duplicates allowed
Hash¶
Hash Table¶
- 0003.Longest Substring Without Repeating Characters
- 0981.Time Based Key-Value Store
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 128. Longest Consecutive Sequence
- 3223.Minimum-Length-of-String-After-Operations
- Solution 1.Two-Sum
Heap¶
Insert Delete GetRandom O(1)¶
Insert Delete GetRandom O(1) Duplicates allowed¶
Intersection¶
Interview¶
Invert Binary Tree¶
Iterations¶
Koko Eating Bananas¶
Kth Largest Element in a Stream¶
Kth Largest Element in an Array¶
LEETCODETITLE¶
Last Stone Weight¶
LeetCode¶
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0005. Longest Palindromic Substring
- 0010.Regular-Expression-Matching
- 0011.Container With Most Water
- 0015. 3Sum
- 0019. Remove Nth Node From End of List
- 0020. Valid Parentheses
- 0021. Merge Two Sorted Lists
- 0028. Find the Index of the First Occurrence in a String
- 0034. Find First and Last Position of Element in Sorted Array
- 0049.Group Anagrams
- 0070.Climbing Stairs
- 0078. Subsets
- 0104.Maximum Depth of Binary Tree
- 0121.Best Time to Buy and Sell Stock
- 0125. Valid Palindrome
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 0167.Two Sum II Input Array Is Sorted
- 0215. Kth Largest Element in an Array
- 0217.Contains-Duplicate
- 0242.Valid-Anagram
- 0283. Move Zeroes
- 0322.Coin Change
- 0543. Diameter of Binary Tree
- 0695.Max Area of Island
- 0703. Kth Largest Element in a Stream
- 0733.Flood Fill
- 0981.Time Based Key-Value Store
- 100. Same Tree
- 1046. Last Stone Weight
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 110. Balanced Binary Tree
- 1195. Fizz Buzz Multithreaded
- 128. Longest Consecutive Sequence
- 138. Copy List with Random Pointer
- 143. Reorder List
- 206. Reverse Linked List
- 226. Invert Binary Tree
- 238. Product of Array Except Self
- 3223.Minimum-Length-of-String-After-Operations
- 33. Search in Rotated Sorted Array
- 347. Top K Frequent Elements
- 380. Insert Delete GetRandom O(1)
- 381.Insert Delete GetRandom O(1) Duplicates allowed
- 412. Fizz Buzz
- 74. Search a 2D Matrix
- 746. Min Cost Climbing Stairs
- 875. Koko Eating Bananas
- NUM.LEETCODETITLE
- Solution 1.Two-Sum
Left Bound¶
Linked List¶
- 0002.Add Two Numbers
- 0019. Remove Nth Node From End of List
- 0141.Linked List Cycle
- 0142.Linked List Cycle II
- 0203.Remove Linked List Elements
- 0876.Middle of the Linked List
- 143. Reorder List
LinkedIn¶
Longest Consecutive Sequence¶
Longest Substring Without Repeating Characters¶
Math¶
Matrix¶
Max Area of Island¶
Medium¶
- 0002.Add Two Numbers
- 0003.Longest Substring Without Repeating Characters
- 0005. Longest Palindromic Substring
- 0011.Container With Most Water
- 0015. 3Sum
- 0019. Remove Nth Node From End of List
- 0034. Find First and Last Position of Element in Sorted Array
- 0046.Permutations
- 0049.Group Anagrams
- 0059.Spiral Matrix II
- 0075.Sort Colors
- 0078. Subsets
- 0094.Binary Tree Inorder Traversal
- 0142.Linked List Cycle II
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 0167.Two Sum II Input Array Is Sorted
- 0209. Minimum Size Subarray Sum
- 0215. Kth Largest Element in an Array
- 0300.Longest Increasing Subsequence
- 0310.Minimum Height Trees
- 0322.Coin Change
- 0438.Find All Anagrams in a String
- 0567.Permutation in String
- 0693.Binary Number with Alternating Bits
- 0695.Max Area of Island
- 0752.Open the Lock
- 0981.Time Based Key-Value Store
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 1143.Longest Common Subsequence
- 1195. Fizz Buzz Multithreaded
- 128. Longest Consecutive Sequence
- 138. Copy List with Random Pointer
- 238. Product of Array Except Self
- 3223.Minimum-Length-of-String-After-Operations
- 33. Search in Rotated Sorted Array
- 347. Top K Frequent Elements
- 380. Insert Delete GetRandom O(1)
- 516. Longest Palindromic Subsequence
- 74. Search a 2D Matrix
- 875. Koko Eating Bananas
Merge Two Sorted Lists¶
Microsoft¶
- 0002.Add Two Numbers
- 0005. Longest Palindromic Substring
- 0011.Container With Most Water
- 0019. Remove Nth Node From End of List
- 0153.Find-Minimum-in-Rotated-Sorted-Array
- 128. Longest Consecutive Sequence
- 138. Copy List with Random Pointer
- 143. Reorder List
- 33. Search in Rotated Sorted Array
- 412. Fizz Buzz
- 74. Search a 2D Matrix
Min Cost Climbing Stairs¶
Move Zeroes¶
Multiple Pointers¶
Painless¶
Patience Sorting¶
Prefix Sum¶
Priority Queue¶
Product of Array Except Self¶
Recursion¶
Reverse Linked List¶
Right Bound¶
Same Tree¶
Search Graph¶
Search a 2D Matrix¶
Slide Windows¶
Sliding Window¶
- 0003.Longest Substring Without Repeating Characters
- 0209. Minimum Size Subarray Sum
- 0438.Find All Anagrams in a String
- 0567.Permutation in String
Sort¶
Sorting¶
Spotify¶
Stack¶
String¶
- 0003.Longest Substring Without Repeating Characters
- 0010.Regular-Expression-Matching
- 0028. Find the Index of the First Occurrence in a String
- 0409. Longest Palindrome
- 0981.Time Based Key-Value Store
- 3223.Minimum-Length-of-String-After-Operations
String Matching¶
Subsets¶
Time Based Key-Value Store¶
Top K Frequent Elements¶
Tree¶
Two Pointers¶
- 0011.Container With Most Water
- 0015. 3Sum
- 0019. Remove Nth Node From End of List
- 0028. Find the Index of the First Occurrence in a String
- 0141.Linked List Cycle
- 0142.Linked List Cycle II
- 0167.Two Sum II Input Array Is Sorted
- 0344.Reverse String
- 0876.Middle of the Linked List
- 143. Reorder List