Tags
Following is a list of relevant tags:
Array
- 1. Two Sum
- 11. Container With Most Water
- 1480. Running Sum of 1d Array
- 15. 3Sum
- 16. 3Sum Closest
- 18. 4Sum
- 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points
- 2200. Find All K-Distant Indices in an Array
- 2448. Minimum Cost to Make Array Equal
- 26. Remove Duplicates from Sorted Array
- 27. Remove Element
- 3035. Maximum Palindromes After Operations
- 31. Next Permutation
- 3160. Find the Number of Distinct Colors Among the Balls
- 3168. Minimum Number of Chairs in a Waiting Room
- 3270. Find the Key of the Numbers
- 33. Search in Rotated Sorted Array
- 34. Find First and Last Position of Element in Sorted Array
- 35. Search Insert Position
- 36. Valid Sudoku
- 37. Sudoku Solver
- 39. Combination Sum
- 4. Median of Two Sorted Arrays
- 40. Combination Sum II
- 41. First Missing Positive
- 416. Partition Equal Subset Sum
- 42. Trapping Rain Water
- 45. Jump Game II
- 46. Permutations
- 47. Permutations II
- 48. Rotate Image
- 53. Maximum Subarray
- 54. Spiral Matrix
- 55. Jump Game
- 56. Merge Intervals
- 57. Insert Interval
- 59. Spiral Matrix II
- 66. Plus One
Backtracking
- 17. Letter Combinations of a Phone Number
- 22. Generate Parentheses
- 37. Sudoku Solver
- 39. Combination Sum
- 40. Combination Sum II
- 46. Permutations
- 47. Permutations II
- 51. N-Queens
- 52. N-Queens II
- 60. Permutation Sequence
Binary Search
- 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points
- 2448. Minimum Cost to Make Array Equal
- 33. Search in Rotated Sorted Array
- 34. Find First and Last Position of Element in Sorted Array
- 35. Search Insert Position
- 4. Median of Two Sorted Arrays
Bit Manipulation
Combinatorics
DFS
Database
Depth-First Search
Divide and Conquer
Dynamic Programming
- 10. Regular Expression Matching
- 1143. Longest Common Subsequence
- 2400. Number of Ways to Reach a Position After Exactly k Steps
- 32. Longest Valid Parentheses
- 416. Partition Equal Subset Sum
- 42. Trapping Rain Water
- 44. Wildcard Matching
- 5. Longest Palindromic Substring
- 53. Maximum Subarray
- 62. Unique Paths
- 63. Unique Paths II
- 64. Minimum Path Sum
Graph
Greedy
- 11. Container With Most Water
- 12. Integer to Roman
- 2128. Remove All Ones With Row and Column Flips
- 3144. Minimum Substring Partition of Equal Character Frequency
- 45. Jump Game II
- 55. Jump Game
Hash Table
- 1. Two Sum
- 3. Longest Substring Without Repeating Characters
- 30. Substring with Concatenation of All Words
- 3035. Maximum Palindromes After Operations
- 3160. Find the Number of Distinct Colors Among the Balls
- 36. Valid Sudoku
- 49. Group Anagrams
Heap (Priority Queue)
Linked List
- 19. Remove Nth Node From End of List
- 2. Add Two Numbers
- 21. Merge Two Sorted Lists
- 23. Merge k Sorted Lists
- 24. Swap Nodes in Pairs
- 25. Reverse Nodes in k-Group
- 2807. Insert Greatest Common Divisors in Linked List
- 61. Rotate List
Math
- 12. Integer to Roman
- 13. Roman to Integer
- 2. Add Two Numbers
- 2400. Number of Ways to Reach a Position After Exactly k Steps
- 2807. Insert Greatest Common Divisors in Linked List
- 29. Divide Two Integers
- 3168. Minimum Number of Chairs in a Waiting Room
- 3270. Find the Key of the Numbers
- 43. Multiply Strings
- 50. Pow(x, n)
- 60. Permutation Sequence
- 66. Plus One
- 67. Add Binary
- 7. Reverse Integer
- 8. String to Integer (atoi)
- 9. Palindrome Number
Matrix
- 2128. Remove All Ones With Row and Column Flips
- 48. Rotate Image
- 54. Spiral Matrix
- 59. Spiral Matrix II
Prefix Sum
Recursion
SQL
Simulation
Sliding Window
Sorting
- 15. 3Sum
- 16. 3Sum Closest
- 18. 4Sum
- 2448. Minimum Cost to Make Array Equal
- 56. Merge Intervals
- 57. Insert Interval
Stack
String
- 10. Regular Expression Matching
- 1143. Longest Common Subsequence
- 12. Integer to Roman
- 125. Valid Palindrome
- 13. Roman to Integer
- 14. Longest Common Prefix
- 17. Letter Combinations of a Phone Number
- 20. Valid Parentheses
- 22. Generate Parentheses
- 28. Find the Index of the First Occurrence in a String
- 3. Longest Substring Without Repeating Characters
- 30. Substring with Concatenation of All Words
- 3144. Minimum Substring Partition of Equal Character Frequency
- 38. Count and Say
- 43. Multiply Strings
- 44. Wildcard Matching
- 49. Group Anagrams
- 5. Longest Palindromic Substring
- 58. Length of Last Word
- 6. Zigzag Conversion
- 65. Valid Number
- 67. Add Binary
- 8. String to Integer (atoi)