LeetCode Tags
Following is a list of relevant tags:
Adobe
Amazon
Array
- 2996 Smallest Missing Integer Greater Than Sequential Prefix Sum
- 2997 Minimum Number of Operations to Make Array XOR Equal to K
- 3224. Minimum Array Changes to Make Differences Equal
- 3225. Maximum Score From Grid Operations
- 3217. Delete Nodes From Linked List Present in Array
- 3218. Minimum Cost for Cutting Cake I
- 3219. Minimum Cost for Cutting Cake II
- 2059. Minimum Operations to Convert Number
- 2812. Find the Safest Path in a Grid
- 307. Range Sum Query - Mutable
- 34. Find First and Last Position of Element in Sorted Array
- 542. 01 Matrix
- 212 Word Search II
- 79 Word Search
- 713 Subarray Product Less Than K
- 202 Kth Smallest In Two Sorted Arrays (Lai)
- 215 Kth Largest Element in an Array
- 268 Missing Number
- 49 Group Anagrams
- 560 Subarray Sum Equals K
- 704 Binary Search
- 2148. Count Elements With Strictly Smaller and Greater Elements
- 239 Sliding Window Maximum
- 300. Longest Increasing Subsequence
- 315 Count of Smaller Numbers After Self
- 496 Next Greater Element I
- 503 Next Greater Element II
- 84 Largest Rectangle in Histogram
- 130. Surrounded Regions
- 1. Two Sum ✅
- ✅ 1046. Last Stone Weight
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 11. Container With Most Water
- 1150. Check If a Number Is Majority Element in a Sorted Array
- 121. Best Time to Buy and Sell Stock
- 128. Longest Consecutive Sequence
- 134. Gas Station
- 136. Single Number
- 139. Word Break
- 15. 3Sum
- 150. Evaluate Reverse Polish Notation
- 152. Maximum Product Subarray
- 153. Find Minimum in Rotated Sorted Array
- 1584. Min Cost to Connect All Points
- 163. Missing Ranges
- 167. Two Sum II - Input Array Is Sorted
- 169. Majority Element
- 1851. Minimum Interval to Include Each Query
- 1899. Merge Triplets to Form Target Triplet
- 198. House Robber
- 200. Number of Islands
- 2013. Detect Squares
- 202 Kth Smallest In Two Sorted Arrays (Lai)
- 212. Word Search II
- 213. House Robber II
- 2148. Count Elements With Strictly Smaller and Greater Elements
- 215. Kth Largest Element in an Array
- 217. Contains Duplicate ✅
- 238. Product of Array Except Self ✅
- 239. Sliding Window Maximum
- 247. Strobogrammatic Number II
- 252. Meeting Rooms
- 2540. Minimum Common Value
- 268. Missing Number
- 269. Alien Dictionary
- 271. Encode and Decode Strings
- 286. Walls and Gates
- 287. Find the Duplicate Number
- 300. Longest Increasing Subsequence
- 3005. Count Elements With Maximum Frequency ✅
- 309. Best Time to Buy and Sell Stock with Cooldown
- 31. Next Permutation
- 315 Count of Smaller Numbers After Self
- 322. Coin Change
- 33. Search in Rotated Sorted Array
- 34. Find First and Last Position of Element in Sorted Array
- 347. Top K Frequent Elements
- 349. Intersection of Two Arrays
- 39. Combination Sum
- 399. Evaluate Division
- 4. Median of Two Sorted Arrays
- 40. Combination Sum II
- 41. First Missing Positive
- 417. Pacific Atlantic Water Flow
- 42. Trapping Rain Water
- 425. Word Squares
- 435. Non-overlapping Intervals
- 442. Find All Duplicates in an Array
- 45. Jump Game II
- 46. Permutations
- 48. Rotate Image
- 49. Group Anagrams
- 494. Target Sum
- 496 Next Greater Element I
- 503 Next Greater Element II
- 518. Coin Change II
- 54. Spiral Matrix
- 55. Jump Game
- 56. Merge Intervals
- 560 Subarray Sum Equals K
- 562. Longest Line of Consecutive One in Matrix
- 57. Insert Interval
- 621. Task Scheduler
- 64. Minimum Path Sum
- 66. Plus One
- 695. Max Area of Island
- 704. Binary Search
- 713 Subarray Product Less Than K
- 720. Longest Word in Dictionary
- 739. Daily Temperatures
- 74. Search a 2D Matrix
- 778. Swim in Rising Water
- 78. Subsets
- 79. Word Search
- 809. Expressive Words
- 833. Find And Replace in String
- 84. Largest Rectangle in Histogram
- 846. Hand of Straights
- 849. Maximize Distance to Closest Person
- 853. Car Fleet
- 857. Minimum Cost to Hire K Workers
- 875. Koko Eating Bananas
- 90. Subsets II
- 904. Fruit Into Baskets
- 929. Unique Email Addresses
- 930. Binary Subarrays With Sum
- 973. K Closest Points to Origin
- 975. Odd Even Jump
- 994. Rotting Oranges
Backtracking
- 131 Palindrome Partitioning
- 212 Word Search II
- 79 Word Search
- 681. Next Closest Time
- 131. Palindrome Partitioning131. Palindrome Partitioning
- 17. Letter Combinations of a Phone Number
- 212. Word Search II
- 22. Generate Parentheses
- 351. Android Unlock Patterns
- 39. Combination Sum
- 40. Combination Sum II
- 425. Word Squares
- 46. Permutations
- 489. Robot Room Cleaner
- 494. Target Sum
- 681. Next Closest Time
- 78. Subsets
- 79. Word Search
- 90. Subsets II
BeaconFire
Binary Indexed Tree
- 307. Range Sum Query - Mutable
- 315 Count of Smaller Numbers After Self
- 315 Count of Smaller Numbers After Self
Binary Search
- 2812. Find the Safest Path in a Grid
- 34. Find First and Last Position of Element in Sorted Array
- 202 Kth Smallest In Two Sorted Arrays (Lai)
- 268 Missing Number
- 374 Guess Number Higher or Lower
- 704 Binary Search
- 300. Longest Increasing Subsequence
- 315 Count of Smaller Numbers After Self
- 1062. Longest Repeating Substring
- 1150. Check If a Number Is Majority Element in a Sorted Array
- 153. Find Minimum in Rotated Sorted Array
- 167. Two Sum II - Input Array Is Sorted
- 1851. Minimum Interval to Include Each Query
- 202 Kth Smallest In Two Sorted Arrays (Lai)
- 222. Count Complete Tree Nodes
- 2540. Minimum Common Value
- 268. Missing Number
- 287. Find the Duplicate Number
- 300. Longest Increasing Subsequence
- 315 Count of Smaller Numbers After Self
- 33. Search in Rotated Sorted Array
- 34. Find First and Last Position of Element in Sorted Array
- 349. Intersection of Two Arrays
- 374 Guess Number Higher or Lower
- 4. Median of Two Sorted Arrays
- 704. Binary Search
- 74. Search a 2D Matrix
- 778. Swim in Rising Water
- 875. Koko Eating Bananas
- 981. Time Based Key-Value Store
Binary Search Tree
- 230. Kth Smallest Element in a BST
- 235. Lowest Common Ancestor of a Binary Search Tree
- 703. Kth Largest Element in a Stream
- 98. Validate Binary Search Tree
Binary Tree
- 102 Binary Tree Level Order Traversal
- 103 Binary Tree Zigzag Level Order Traversal
- 100. Same Tree
- 102. Binary Tree Level Order Traversal
- 103 Binary Tree Zigzag Level Order Traversal
- 104. Maximum Depth of Binary Tree
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 110. Balanced Binary Tree
- 124. Binary Tree Maximum Path Sum
- 1448. Count Good Nodes in Binary Tree
- 199. Binary Tree Right Side View
- 222. Count Complete Tree Nodes
- 226. Invert Binary Tree
- 230. Kth Smallest Element in a BST
- 235. Lowest Common Ancestor of a Binary Search Tree
- 297. Serialize and Deserialize Binary Tree
- 543. Diameter of Binary Tree
- 572. Subtree of Another Tree
- 703. Kth Largest Element in a Stream
- 951. Flip Equivalent Binary Trees
- 98. Validate Binary Search Tree
Bit Manipulation
- 2997 Minimum Number of Operations to Make Array XOR Equal to K
- 3211. Generate Binary Strings Without Adjacent Zeros
- 3226. Number of Bit Changes to Make Two Integers Equal
- 268 Missing Number
- 136. Single Number
- 190. Reverse Bits
- 222. Count Complete Tree Nodes
- 268. Missing Number
- 287. Find the Duplicate Number
- 338. Counting Bits
- 351. Android Unlock Patterns
- 371. Sum of Two Integers
- 464 Can I Win
- 78. Subsets
- 90. Subsets II
Bit manipulation
Bitmask
Bloomberg
Brainteaser
Breadth-First Search
- 2059. Minimum Operations to Convert Number
- 2812. Find the Safest Path in a Grid
- 542. 01 Matrix
- 102 Binary Tree Level Order Traversal
- 103 Binary Tree Zigzag Level Order Traversal
- 130. Surrounded Regions
- 100. Same Tree
- 102. Binary Tree Level Order Traversal
- 103 Binary Tree Zigzag Level Order Traversal
- 104. Maximum Depth of Binary Tree
- 127. Word Ladder
- 133. Clone Graph
- 1448. Count Good Nodes in Binary Tree
- 199. Binary Tree Right Side View
- 200. Number of Islands
- 210. Course Schedule II
- 226. Invert Binary Tree
- 261. Graph Valid Tree
- 269. Alien Dictionary
- 286. Walls and Gates
- 297. Serialize and Deserialize Binary Tree
- 322. Coin Change
- 399. Evaluate Division
- 417. Pacific Atlantic Water Flow
- 547. Number of Provinces
- 684. Redundant Connection
- 695. Max Area of Island
- 743. Network Delay Time
- 778. Swim in Rising Water
- 994. Rotting Oranges
Bucket Sort
Citadel
Counting
- 3228. Maximum Number of Operations to Move Ones to the End
- 3228. Maximum Number of Operations to Move Ones to the End
- 169. Majority Element
- 2013. Detect Squares
- 3005. Count Elements With Maximum Frequency ✅
- 347. Top K Frequent Elements
- 621. Task Scheduler
Cruise
Data Stream
Database
- 1757. Recyclable and Low Fat Products
- 181. Employees Earning More Than Their Managers
- 184. Department Highest Salary
Depth-First Search
- 130. Surrounded Regions
- 100. Same Tree
- 104. Maximum Depth of Binary Tree
- 110. Balanced Binary Tree
- 124. Binary Tree Maximum Path Sum
- 133. Clone Graph
- 1448. Count Good Nodes in Binary Tree
- 199. Binary Tree Right Side View
- 200. Number of Islands
- 210. Course Schedule II
- 211. Design Add and Search Words Data Structure
- 226. Invert Binary Tree
- 230. Kth Smallest Element in a BST
- 235. Lowest Common Ancestor of a Binary Search Tree
- 261. Graph Valid Tree
- 269. Alien Dictionary
- 297. Serialize and Deserialize Binary Tree
- 332. Reconstruct Itinerary
- 399. Evaluate Division
- 417. Pacific Atlantic Water Flow
- 543. Diameter of Binary Tree
- 547. Number of Provinces
- 572. Subtree of Another Tree
- 684. Redundant Connection
- 695. Max Area of Island
- 743. Network Delay Time
- 778. Swim in Rising Water
- 947. Most Stones Removed with Same Row or Column
- 951. Flip Equivalent Binary Trees
- 98. Validate Binary Search Tree
Design
- 307. Range Sum Query - Mutable
- 146 LRU Cache
- 146. LRU Cache
- 155. Min Stack
- 2013. Detect Squares
- 211. Design Add and Search Words Data Structure
- 271. Encode and Decode Strings
- 295. Find Median from Data Stream
- 297. Serialize and Deserialize Binary Tree
- 355. Design Twitter
- 703. Kth Largest Element in a Stream
- 981. Time Based Key-Value Store
Divide And Conquer
Divide and Conquer
- 215 Kth Largest Element in an Array
- 315 Count of Smaller Numbers After Self
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 169. Majority Element
- 190. Reverse Bits
- 215. Kth Largest Element in an Array
- 23. Merge k Sorted Lists
- 315 Count of Smaller Numbers After Self
- 4. Median of Two Sorted Arrays
- 973. K Closest Points to Origin
Doubly-Linked List
Dynamic Programming
- 2998 Minimum Number of Operations to Make X and Y Equal
- 2999 Count the Number of Powerful Integers
- 3225. Maximum Score From Grid Operations
- 3218. Minimum Cost for Cutting Cake I
- 542. 01 Matrix
- 940. Distinct Subsequences II
- 131 Palindrome Partitioning
- 375 Guess Number Higher or Lower II
- 464 Can I Win
- 300. Longest Increasing Subsequence
- 1062. Longest Repeating Substring
- 1143. Longest Common Subsequence
- 121. Best Time to Buy and Sell Stock
- 124. Binary Tree Maximum Path Sum
- 131. Palindrome Partitioning131. Palindrome Partitioning
- 139. Word Break
- 152. Maximum Product Subarray
- 198. House Robber
- 213. House Robber II
- 22. Generate Parentheses
- 300. Longest Increasing Subsequence
- 309. Best Time to Buy and Sell Stock with Cooldown
- 322. Coin Change
- 338. Counting Bits
- 351. Android Unlock Patterns
- 375 Guess Number Higher or Lower II
- 42. Trapping Rain Water
- 435. Non-overlapping Intervals
- 45. Jump Game II
- 464 Can I Win
- 494. Target Sum
- 5. Longest Palindromic Substring
- 518. Coin Change II
- 55. Jump Game
- 562. Longest Line of Consecutive One in Matrix
- 64. Minimum Path Sum
- 647. Palindromic Substrings
- 678. Valid Parenthesis String
- 70. Climbing Stairs
- 91. Decode Ways
- 97. Interleaving String
- 975. Odd Even Jump
Enumeration
Eulerian Circuit
Game Theory
- 3222. Find the Winning Player in Coin Game
- 3223. Minimum Length of String After Operations
- 3227. Vowels Game in a String
- 375 Guess Number Higher or Lower II
- 464 Can I Win
- 375 Guess Number Higher or Lower II
- 464 Can I Win
Geometry
Goldman Sachs
- 1062. Longest Repeating Substring
- 1832. Check if the Sentence Is Pangram
- 562. Longest Line of Consecutive One in Matrix
- 1062. Longest Repeating Substring
- 1832. Check if the Sentence Is Pangram
- 212. Word Search II
- 425. Word Squares
- 482. License Key Formatting
- 489. Robot Room Cleaner
- 489. Robot Room Cleaner
- 562. Longest Line of Consecutive One in Matrix
- 904. Fruit Into Baskets
- 929. Unique Email Addresses
Graph
- 133. Clone Graph
- 1584. Min Cost to Connect All Points
- 210. Course Schedule II
- 261. Graph Valid Tree
- 269. Alien Dictionary
- 332. Reconstruct Itinerary
- 399. Evaluate Division
- 547. Number of Provinces
- 684. Redundant Connection
- 743. Network Delay Time
- 947. Most Stones Removed with Same Row or Column
Greedy
- 3216. Lexicographically Smallest String After a Swap
- 3218. Minimum Cost for Cutting Cake I
- 3219. Minimum Cost for Cutting Cake II
- 3228. Maximum Number of Operations to Move Ones to the End
- 3228. Maximum Number of Operations to Move Ones to the End
- 11. Container With Most Water
- 134. Gas Station
- 1899. Merge Triplets to Form Target Triplet
- 435. Non-overlapping Intervals
- 45. Jump Game II
- 55. Jump Game
- 621. Task Scheduler
- 678. Valid Parenthesis String
- 763. Partition Labels
- 846. Hand of Straights
- 857. Minimum Cost to Hire K Workers
Hash Function
Hash Table
- 2996 Smallest Missing Integer Greater Than Sequential Prefix Sum
- 3224. Minimum Array Changes to Make Differences Equal
- 3217. Delete Nodes From Linked List Present in Array
- 1100 Find K-Length Substrings With No Repeated Characters
- 3 Longest Substring Without Repeating Characters
- 438 Find All Anagrams in a String
- 146 LRU Cache
- 268 Missing Number
- 438 Find All Anagrams in a String
- 49 Group Anagrams
- 560 Subarray Sum Equals K
- 496 Next Greater Element I
- 681. Next Closest Time
- 1. Two Sum ✅
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 1100 Find K-Length Substrings With No Repeated Characters
- 12. Integer to Roman
- 127. Word Ladder
- 128. Longest Consecutive Sequence
- 133. Clone Graph
- 138. Copy List with Random Pointer
- 139. Word Break
- 141. Linked List Cycle
- 146. LRU Cache
- 169. Majority Element
- 17. Letter Combinations of a Phone Number
- 1832. Check if the Sentence Is Pangram
- 2013. Detect Squares
- 202. Happy Number
- 217. Contains Duplicate ✅
- 242. Valid Anagram ✅
- 246. Strobogrammatic Number
- 2540. Minimum Common Value
- 268. Missing Number
- 3. Longest Substring Without Repeating Characters
- 3005. Count Elements With Maximum Frequency ✅
- 347. Top K Frequent Elements
- 349. Intersection of Two Arrays
- 355. Design Twitter
- 41. First Missing Positive
- 424. Longest Repeating Character Replacement
- 438 Find All Anagrams in a String
- 442. Find All Duplicates in an Array
- 49. Group Anagrams
- 496 Next Greater Element I
- 560 Subarray Sum Equals K
- 567. Permutation in String
- 621. Task Scheduler
- 681. Next Closest Time
- 720. Longest Word in Dictionary
- 76. Minimum Window Substring
- 763. Partition Labels
- 833. Find And Replace in String
- 846. Hand of Straights
- 904. Fruit Into Baskets
- 929. Unique Email Addresses
- 930. Binary Subarrays With Sum
- 947. Most Stones Removed with Same Row or Column
- 981. Time Based Key-Value Store
Heap (Priority Queue)
- 215 Kth Largest Element in an Array
- 239 Sliding Window Maximum
- ✅ 1046. Last Stone Weight
- 1851. Minimum Interval to Include Each Query
- 215. Kth Largest Element in an Array
- 23. Merge k Sorted Lists
- 239. Sliding Window Maximum
- 295. Find Median from Data Stream
- 347. Top K Frequent Elements
- 355. Design Twitter
- 621. Task Scheduler
- 703. Kth Largest Element in a Stream
- 743. Network Delay Time
- 778. Swim in Rising Water
- 857. Minimum Cost to Hire K Workers
- 973. K Closest Points to Origin
Interactive
Interview
Line Sweep
Linked List
- 3217. Delete Nodes From Linked List Present in Array
- 146 LRU Cache
- 203 Remove Linked List Elements
- 138. Copy List with Random Pointer
- 141. Linked List Cycle
- 143. Reorder List
- 146. LRU Cache
- 19. Remove Nth Node From End of List ✅
- 2. Add Two Numbers
- 203 Remove Linked List Elements
- 206. Reverse Linked List ✅
- 21. Merge Two Sorted Lists ✅
- 23. Merge k Sorted Lists
- 355. Design Twitter
Math
- 2999 Count the Number of Powerful Integers
- 3222. Find the Winning Player in Coin Game
- 3223. Minimum Length of String After Operations
- 3227. Vowels Game in a String
- 375 Guess Number Higher or Lower II
- 464 Can I Win
- 268 Missing Number
- 556 Next Greater Element III
- 1185. Day of the Week
- 12. Integer to Roman
- 150. Evaluate Reverse Polish Notation
- 2. Add Two Numbers
- 202. Happy Number
- 2485. Find the Pivot Integer
- 268. Missing Number
- 273. Integer to English Words
- 371. Sum of Two Integers
- 375 Guess Number Higher or Lower II
- 43. Multiply Strings
- 464 Can I Win
- 48. Rotate Image
- 50. Pow(x, n)
- 556 Next Greater Element III
- 66. Plus One
- 7. Reverse Integer
- 70. Climbing Stairs
- 973. K Closest Points to Origin
Matrix
- 3225. Maximum Score From Grid Operations
- 2812. Find the Safest Path in a Grid
- 542. 01 Matrix
- 212 Word Search II
- 79 Word Search
- 130. Surrounded Regions
- 200. Number of Islands
- 212. Word Search II
- 286. Walls and Gates
- 417. Pacific Atlantic Water Flow
- 48. Rotate Image
- 54. Spiral Matrix
- 562. Longest Line of Consecutive One in Matrix
- 64. Minimum Path Sum
- 695. Max Area of Island
- 74. Search a 2D Matrix
- 778. Swim in Rising Water
- 79. Word Search
- 994. Rotting Oranges
Memoization
Merge Sort
- 315 Count of Smaller Numbers After Self
- 23. Merge k Sorted Lists
- 315 Count of Smaller Numbers After Self
Meta
Microsoft
Minimum Spanning Tree
Monotonic Queue
Monotonic Stack
- 496 Next Greater Element I
- 503 Next Greater Element II
- 84 Largest Rectangle in Histogram
- 42. Trapping Rain Water
- 496 Next Greater Element I
- 503 Next Greater Element II
- 739. Daily Temperatures
- 84. Largest Rectangle in Histogram
- 853. Car Fleet
- 975. Odd Even Jump
Ordered Set
Prefix Sum
- 3224. Minimum Array Changes to Make Differences Equal
- 3225. Maximum Score From Grid Operations
- 560 Subarray Sum Equals K
- 238. Product of Array Except Self ✅
- 2485. Find the Pivot Integer
- 560 Subarray Sum Equals K
- 930. Binary Subarrays With Sum
Queue
Quickselect
- 215 Kth Largest Element in an Array
- 215. Kth Largest Element in an Array
- 347. Top K Frequent Elements
- 973. K Closest Points to Origin
Recursion
- 3211. Generate Binary Strings Without Adjacent Zeros
- 203 Remove Linked List Elements
- 143. Reorder List
- 2. Add Two Numbers
- 203 Remove Linked List Elements
- 206. Reverse Linked List ✅
- 21. Merge Two Sorted Lists ✅
- 247. Strobogrammatic Number II
- 273. Integer to English Words
- 394. Decode String
- 50. Pow(x, n)
Rolling Hash
Segment Tree
- 307. Range Sum Query - Mutable
- 315 Count of Smaller Numbers After Self
- 315 Count of Smaller Numbers After Self
Shortest Path
Simulation
- 3222. Find the Winning Player in Coin Game
- 3223. Minimum Length of String After Operations
- 43. Multiply Strings
- 54. Spiral Matrix
Sliding Window
- 1100 Find K-Length Substrings With No Repeated Characters
- 3 Longest Substring Without Repeating Characters
- 438 Find All Anagrams in a String
- 713 Subarray Product Less Than K
- 438 Find All Anagrams in a String
- 239 Sliding Window Maximum
- 1100 Find K-Length Substrings With No Repeated Characters
- 239. Sliding Window Maximum
- 3. Longest Substring Without Repeating Characters
- 424. Longest Repeating Character Replacement
- 438 Find All Anagrams in a String
- 567. Permutation in String
- 713 Subarray Product Less Than K
- 76. Minimum Window Substring
- 904. Fruit Into Baskets
- 930. Binary Subarrays With Sum
Sorting
- 2996 Smallest Missing Integer Greater Than Sequential Prefix Sum
- 3218. Minimum Cost for Cutting Cake I
- 3219. Minimum Cost for Cutting Cake II
- 215 Kth Largest Element in an Array
- 268 Missing Number
- 49 Group Anagrams
- 2148. Count Elements With Strictly Smaller and Greater Elements
- 15. 3Sum
- 169. Majority Element
- 1851. Minimum Interval to Include Each Query
- 2148. Count Elements With Strictly Smaller and Greater Elements
- 215. Kth Largest Element in an Array
- 217. Contains Duplicate ✅
- 242. Valid Anagram ✅
- 252. Meeting Rooms
- 268. Missing Number
- 295. Find Median from Data Stream
- 347. Top K Frequent Elements
- 349. Intersection of Two Arrays
- 435. Non-overlapping Intervals
- 49. Group Anagrams
- 56. Merge Intervals
- 621. Task Scheduler
- 720. Longest Word in Dictionary
- 833. Find And Replace in String
- 846. Hand of Straights
- 853. Car Fleet
- 857. Minimum Cost to Hire K Workers
- 973. K Closest Points to Origin
Stack
- 496 Next Greater Element I
- 503 Next Greater Element II
- 84 Largest Rectangle in Histogram
- 143. Reorder List
- 150. Evaluate Reverse Polish Notation
- 155. Min Stack
- 20. Valid Parentheses
- 394. Decode String
- 42. Trapping Rain Water
- 496 Next Greater Element I
- 503 Next Greater Element II
- 678. Valid Parenthesis String
- 739. Daily Temperatures
- 84. Largest Rectangle in Histogram
- 853. Car Fleet
- 975. Odd Even Jump
String
- 2999 Count the Number of Powerful Integers
- 3210. Find the Encrypted String
- 3211. Generate Binary Strings Without Adjacent Zeros
- 3216. Lexicographically Smallest String After a Swap
- 3227. Vowels Game in a String
- 3228. Maximum Number of Operations to Move Ones to the End
- 3228. Maximum Number of Operations to Move Ones to the End
- 940. Distinct Subsequences II
- 131 Palindrome Partitioning
- 212 Word Search II
- 1100 Find K-Length Substrings With No Repeated Characters
- 3 Longest Substring Without Repeating Characters
- 438 Find All Anagrams in a String
- 438 Find All Anagrams in a String
- 49 Group Anagrams
- 556 Next Greater Element III
- 681. Next Closest Time
- 1062. Longest Repeating Substring
- 1100 Find K-Length Substrings With No Repeated Characters
- 1143. Longest Common Subsequence
- 12. Integer to Roman
- 125. Valid Palindrome
- 127. Word Ladder
- 131. Palindrome Partitioning131. Palindrome Partitioning
- 139. Word Break
- 17. Letter Combinations of a Phone Number
- 1750. Minimum Length of String After Deleting Similar Ends
- 1832. Check if the Sentence Is Pangram
- 20. Valid Parentheses
- 211. Design Add and Search Words Data Structure
- 212. Word Search II
- 22. Generate Parentheses
- 242. Valid Anagram ✅
- 246. Strobogrammatic Number
- 247. Strobogrammatic Number II
- 269. Alien Dictionary
- 271. Encode and Decode Strings
- 273. Integer to English Words
- 297. Serialize and Deserialize Binary Tree
- 3. Longest Substring Without Repeating Characters
- 344. Reverse String
- 394. Decode String
- 399. Evaluate Division
- 424. Longest Repeating Character Replacement
- 425. Word Squares
- 43. Multiply Strings
- 438 Find All Anagrams in a String
- 482. License Key Formatting
- 49. Group Anagrams
- 5. Longest Palindromic Substring
- 556 Next Greater Element III
- 567. Permutation in String
- 647. Palindromic Substrings
- 678. Valid Parenthesis String
- 681. Next Closest Time
- 720. Longest Word in Dictionary
- 76. Minimum Window Substring
- 763. Partition Labels
- 809. Expressive Words
- 833. Find And Replace in String
- 91. Decode Ways
- 929. Unique Email Addresses
- 97. Interleaving String
- 981. Time Based Key-Value Store
String Matching
Suffix Array
TikTok
- 1062. Longest Repeating Substring
- 489. Robot Room Cleaner
- 562. Longest Line of Consecutive One in Matrix
Topological Sort
Tree
- 102 Binary Tree Level Order Traversal
- 103 Binary Tree Zigzag Level Order Traversal
- 100. Same Tree
- 102. Binary Tree Level Order Traversal
- 103 Binary Tree Zigzag Level Order Traversal
- 104. Maximum Depth of Binary Tree
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 110. Balanced Binary Tree
- 124. Binary Tree Maximum Path Sum
- 1448. Count Good Nodes in Binary Tree
- 199. Binary Tree Right Side View
- 222. Count Complete Tree Nodes
- 226. Invert Binary Tree
- 230. Kth Smallest Element in a BST
- 235. Lowest Common Ancestor of a Binary Search Tree
- 297. Serialize and Deserialize Binary Tree
- 543. Diameter of Binary Tree
- 572. Subtree of Another Tree
- 703. Kth Largest Element in a Stream
- 951. Flip Equivalent Binary Trees
- 98. Validate Binary Search Tree
Trie
- 212 Word Search II
- 139. Word Break
- 211. Design Add and Search Words Data Structure
- 212. Word Search II
- 425. Word Squares
- 720. Longest Word in Dictionary
Two Pointers
- 556 Next Greater Element III
- 11. Container With Most Water
- 125. Valid Palindrome
- 141. Linked List Cycle
- 143. Reorder List
- 15. 3Sum
- 167. Two Sum II - Input Array Is Sorted
- 1750. Minimum Length of String After Deleting Similar Ends
- 19. Remove Nth Node From End of List ✅
- 202. Happy Number
- 246. Strobogrammatic Number
- 2540. Minimum Common Value
- 287. Find the Duplicate Number
- 295. Find Median from Data Stream
- 31. Next Permutation
- 344. Reverse String
- 349. Intersection of Two Arrays
- 42. Trapping Rain Water
- 5. Longest Palindromic Substring
- 556 Next Greater Element III
- 567. Permutation in String
- 647. Palindromic Substrings
- 763. Partition Labels
- 809. Expressive Words
Union Find
- 2812. Find the Safest Path in a Grid
- 130. Surrounded Regions
- 128. Longest Consecutive Sequence
- 1584. Min Cost to Connect All Points
- 200. Number of Islands
- 261. Graph Valid Tree
- 399. Evaluate Division
- 547. Number of Provinces
- 684. Redundant Connection
- 695. Max Area of Island
- 778. Swim in Rising Water
- 947. Most Stones Removed with Same Row or Column