- Find Peak Element
- Random Pick with Weight
- Find K Closest Elements
- Max Consecutive Ones III
- Substring with Concatenation of All Words
- Minimum Window Substring
- Binary Tree Vertical Order Traversal
- Range Sum of BST
- Sum Root to Leaf Numbers
- Lowest Common Ancestor of a Binary Tree
- Populating Next Right Pointers in Each Node II
- Populating Next Right Pointers in Each Node II
- Diameter of Binary Tree
- Clone Graph
- Find Median from Data Stream
- Generate Parentheses
- Combination Sum
- K Inverse Pairs Array
- Minimum Window Subsequence
- Shuffle an Array
- Find Median from Data Stream
- Kth Largest Element in an Array
- Valid Palindrome II
- Merge Sorted Array
- Random Pick Index
- Maximum Swap
- Merge Intervals
- Minimum Remove to Make Valid Parentheses
- Valid Word Abbreviation
- Word Break II
- Simplify Path
- Remove All Adjacent Duplicates In String
- Group Shifted Strings
- Custom Sort String
- Subarray Sum Equals K
- Contiguous Array
- Buildings With an Ocean View
- Toeplitz Matrix
Mathematics and Simulation:
- Pow(x, n)
- Maximum Swap
- Toeplitz Matrix
- Diagonal Traverse
Heap and Priority Queue:
- Find Median from Data Stream
- K Closest Points to Origin
- K Closest Points to Origin (alternative approach using quick select)
Backtracking:
- Word Search
- Generate Parentheses
- Combination Sum
- Graph Theory:
- Word Ladder
- Clone Graph
- Course Schedule
- Design:
- Find Median from Data Stream
- Moving Average from Data Stream
- Basic Calculator II
- Sparse Data Structures:
- Dot Product of Two Sparse Vectors
- Miscellaneous/Other Techniques:
- Clone Graph (deep copy using a hash map)
- Alien Dictionary (topological sort using Kahn's algorithm)
- Shortest Distance from All Buildings (multi-source BFS)
This categorization will help you to understand and retrieve solutions based on their underlying techniques and data structure utilization efficiently.