- 1001. Grid Illumination 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
|
- 51. N-Queens 🔗 📝
|
- 1002. Find Common Characters 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Hash Table 🔗
- String 🔗
|
- 350. Intersection of Two Arrays II 🔗 📝
|
- 1003. Check If Word Is Valid After Substitutions 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- String 🔗
- Stack 🔗
|
- 20. Valid Parentheses 🔗 📝
|
- 1004. Max Consecutive Ones III 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
- Sliding Window 🔗
- Prefix Sum 🔗
|
- 340. Longest Substring with At Most K Distinct Characters 🔗 📝
- 424. Longest Repeating Character Replacement 🔗 📝
- 485. Max Consecutive Ones 🔗 📝
- 487. Max Consecutive Ones II 🔗 📝
- 2024. Maximize the Confusion of an Exam 🔗 📝
|
- 1005. Maximize Sum Of Array After K Negations 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
|
- 2099. Find Subsequence of Length K With the Largest Sum 🔗 📝
|
- 1006. Clumsy Factorial 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
- Stack 🔗
- Simulation 🔗
|
|
- 1007. Minimum Domino Rotations For Equal Row 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
|
|
- 1008. Construct Binary Search Tree from Preorder Traversal 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Stack 🔗
- Tree 🔗
- Binary Search Tree 🔗
- Monotonic Stack 🔗
- Binary Tree 🔗
|
|
- 1009. Complement of Base 10 Integer 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Bit Manipulation 🔗
|
|
- 1010. Pairs of Songs With Total Durations Divisible by 60 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Counting 🔗
|
|
- 1011. Capacity To Ship Packages Within D Days 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
|
- 410. Split Array Largest Sum 🔗 📝
- 1231. Divide Chocolate 🔗 📝
- 1891. Cutting Ribbons 🔗 📝
- 2064. Minimized Maximum of Products Distributed to Any Store 🔗 📝
- 2279. Maximum Bags With Full Capacity of Rocks 🔗 📝
|
- 1012. Numbers With Repeated Digits 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Math 🔗
- Dynamic Programming 🔗
|
|
- 1013. Partition Array Into Three Parts With Equal Sum 🔗 📝
|
🆓 |
|
⭐️ |
- Array 🔗
- Greedy 🔗
|
- 1991. Find the Middle Index in Array 🔗 📝
|
- 1014. Best Sightseeing Pair 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
|
|
- 1015. Smallest Integer Divisible by K 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Hash Table 🔗
- Math 🔗
|
|
- 1016. Binary String With Substrings Representing 1 To N 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- String 🔗
|
|
- 1017. Convert to Base -2 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
|
- 1256. Encode Number 🔗 📝
|
- 1018. Binary Prefix Divisible By 5 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
|
|
- 1019. Next Greater Node In Linked List 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Linked List 🔗
- Stack 🔗
- Monotonic Stack 🔗
|
|
- 1020. Number of Enclaves 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Depth-First Search 🔗
- Breadth-First Search 🔗
- Union Find 🔗
- Matrix 🔗
|
|
- 1021. Remove Outermost Parentheses 🔗 📝
|
🆓 |
✅ |
⭐️ |
- String 🔗
- Stack 🔗
|
|
- 1022. Sum of Root To Leaf Binary Numbers 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Tree 🔗
- Depth-First Search 🔗
- Binary Tree 🔗
|
|
- 1023. Camelcase Matching 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Two Pointers 🔗
- String 🔗
- Trie 🔗
- String Matching 🔗
|
|
- 1024. Video Stitching 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Greedy 🔗
|
|
- 1025. Divisor Game 🔗 📝
|
🆓 |
|
⭐️ |
- Math 🔗
- Dynamic Programming 🔗
- Brainteaser 🔗
- Game Theory 🔗
|
|
- 1026. Maximum Difference Between Node and Ancestor 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Tree 🔗
- Depth-First Search 🔗
- Binary Tree 🔗
|
|
- 1027. Longest Arithmetic Subsequence 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Binary Search 🔗
- Dynamic Programming 🔗
|
|
- 1028. Recover a Tree From Preorder Traversal 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Tree 🔗
- Depth-First Search 🔗
- Binary Tree 🔗
|
|
- 1029. Two City Scheduling 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
|
|
- 1030. Matrix Cells in Distance Order 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Math 🔗
- Geometry 🔗
- Sorting 🔗
- Matrix 🔗
|
- 2194. Cells in a Range on an Excel Sheet 🔗 📝
|
- 1031. Maximum Sum of Two Non-Overlapping Subarrays 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Sliding Window 🔗
|
|
- 1032. Stream of Characters 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- String 🔗
- Design 🔗
- Trie 🔗
- Data Stream 🔗
|
|
- 1033. Moving Stones Until Consecutive 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
- Brainteaser 🔗
|
|
- 1034. Coloring A Border 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Depth-First Search 🔗
- Breadth-First Search 🔗
- Matrix 🔗
|
- 463. Island Perimeter 🔗 📝
|
- 1035. Uncrossed Lines 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
|
- 72. Edit Distance 🔗 📝
|
- 1036. Escape a Large Maze 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Depth-First Search 🔗
- Breadth-First Search 🔗
|
|
- 1037. Valid Boomerang 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Math 🔗
- Geometry 🔗
|
|
- 1038. Binary Search Tree to Greater Sum Tree 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Tree 🔗
- Depth-First Search 🔗
- Binary Search Tree 🔗
- Binary Tree 🔗
|
|
- 1039. Minimum Score Triangulation of Polygon 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
|
|
- 1040. Moving Stones Until Consecutive II 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Math 🔗
- Two Pointers 🔗
- Sorting 🔗
|
- 2009. Minimum Number of Operations to Make Array Continuous 🔗 📝
|
- 1041. Robot Bounded In Circle 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
- String 🔗
- Simulation 🔗
|
|
- 1042. Flower Planting With No Adjacent 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Depth-First Search 🔗
- Breadth-First Search 🔗
- Graph 🔗
|
|
- 1043. Partition Array for Maximum Sum 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
|
- 2098. Subsequence of Size K With the Largest Even Sum 🔗 📝
|
- 1044. Longest Duplicate Substring 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Binary Search 🔗
- Sliding Window 🔗
- Rolling Hash 🔗
- Suffix Array 🔗
- Hash Function 🔗
|
|
- 1045. Customers Who Bought All Products 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
|
- 1046. Last Stone Weight 🔗 📝
|
🆓 |
|
⭐️ |
- Array 🔗
- Heap (Priority Queue) 🔗
|
|
- 1047. Remove All Adjacent Duplicates In String 🔗 📝
|
🆓 |
|
⭐️ |
- String 🔗
- Stack 🔗
|
- 1209. Remove All Adjacent Duplicates in String II 🔗 📝
|
- 1048. Longest String Chain 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Two Pointers 🔗
- String 🔗
- Dynamic Programming 🔗
|
|
- 1049. Last Stone Weight II 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
|
- 2035. Partition Array Into Two Arrays to Minimize Sum Difference 🔗 📝
|
- 1050. Actors and Directors Who Cooperated At Least Three Times 🔗 📝
|
🆓 |
|
⭐️ |
- Database 🔗
|
|
- 1051. Height Checker 🔗 📝
|
🆓 |
✅ |
⭐️ |
- Array 🔗
- Sorting 🔗
- Counting Sort 🔗
|
|
- 1052. Grumpy Bookstore Owner 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Sliding Window 🔗
|
|
- 1053. Previous Permutation With One Swap 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
|
|
- 1054. Distant Barcodes 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Greedy 🔗
- Sorting 🔗
- Heap (Priority Queue) 🔗
- Counting 🔗
|
|
- 1055. Shortest Way to Form String 🔗 📝
|
💰 |
|
⭐️⭐️ |
- String 🔗
- Dynamic Programming 🔗
- Greedy 🔗
|
- 392. Is Subsequence 🔗 📝
- 792. Number of Matching Subsequences 🔗 📝
|
- 1056. Confusing Number 🔗 📝
|
💰 |
|
⭐️ |
- Math 🔗
|
- 246. Strobogrammatic Number 🔗 📝
- 1088. Confusing Number II 🔗 📝
|
- 1057. Campus Bikes 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Greedy 🔗
- Sorting 🔗
|
- 1066. Campus Bikes II 🔗 📝
|
- 1058. Minimize Rounding Error to Meet Target 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Math 🔗
- String 🔗
- Greedy 🔗
|
|
- 1059. All Paths from Source Lead to Destination 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Depth-First Search 🔗
- Graph 🔗
|
|
- 1060. Missing Element in Sorted Array 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
|
|
- 1061. Lexicographically Smallest Equivalent String 🔗 📝
|
💰 |
|
⭐️⭐️ |
- String 🔗
- Union Find 🔗
|
|
- 1062. Longest Repeating Substring 🔗 📝
|
💰 |
|
⭐️⭐️ |
- String 🔗
- Binary Search 🔗
- Dynamic Programming 🔗
- Rolling Hash 🔗
- Suffix Array 🔗
- Hash Function 🔗
|
|
- 1063. Number of Valid Subarrays 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Stack 🔗
- Monotonic Stack 🔗
|
- 2110. Number of Smooth Descent Periods of a Stock 🔗 📝
|
- 1064. Fixed Point 🔗 📝
|
💰 |
|
⭐️ |
- Array 🔗
- Binary Search 🔗
|
|
- 1065. Index Pairs of a String 🔗 📝
|
💰 |
|
⭐️ |
- Array 🔗
- String 🔗
- Trie 🔗
- Sorting 🔗
|
|
- 1066. Campus Bikes II 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Array 🔗
- Dynamic Programming 🔗
- Backtracking 🔗
- Bit Manipulation 🔗
- Bitmask 🔗
|
- 1057. Campus Bikes 🔗 📝
|
- 1067. Digit Count in Range 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- Math 🔗
- Dynamic Programming 🔗
|
- 233. Number of Digit One 🔗 📝
- 2310. Sum of Numbers With Units Digit K 🔗 📝
|
- 1068. Product Sales Analysis I 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
- 1069. Product Sales Analysis II 🔗 📝
- 2324. Product Sales Analysis IV 🔗 📝
- 2329. Product Sales Analysis V 🔗 📝
|
- 1069. Product Sales Analysis II 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
- 1068. Product Sales Analysis I 🔗 📝
- 1070. Product Sales Analysis III 🔗 📝
- 2324. Product Sales Analysis IV 🔗 📝
- 2329. Product Sales Analysis V 🔗 📝
|
- 1070. Product Sales Analysis III 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
- 1069. Product Sales Analysis II 🔗 📝
- 2324. Product Sales Analysis IV 🔗 📝
- 2329. Product Sales Analysis V 🔗 📝
|
- 1071. Greatest Common Divisor of Strings 🔗 📝
|
🆓 |
|
⭐️ |
- Math 🔗
- String 🔗
|
- 1979. Find Greatest Common Divisor of Array 🔗 📝
|
- 1072. Flip Columns For Maximum Number of Equal Rows 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Matrix 🔗
|
|
- 1073. Adding Two Negabinary Numbers 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Math 🔗
|
|
- 1074. Number of Submatrices That Sum to Target 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Matrix 🔗
- Prefix Sum 🔗
|
|
- 1075. Project Employees I 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
- 1076. Project Employees II 🔗 📝
|
- 1076. Project Employees II 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
- 1075. Project Employees I 🔗 📝
- 1077. Project Employees III 🔗 📝
|
- 1077. Project Employees III 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
- 1076. Project Employees II 🔗 📝
|
- 1078. Occurrences After Bigram 🔗 📝
|
🆓 |
✅ |
⭐️ |
- String 🔗
|
|
- 1079. Letter Tile Possibilities 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- String 🔗
- Backtracking 🔗
|
|
- 1080. Insufficient Nodes in Root to Leaf Paths 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Tree 🔗
- Depth-First Search 🔗
- Binary Tree 🔗
|
- 2265. Count Nodes Equal to Average of Subtree 🔗 📝
|
- 1081. Smallest Subsequence of Distinct Characters 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- String 🔗
- Stack 🔗
- Greedy 🔗
- Monotonic Stack 🔗
|
- 1673. Find the Most Competitive Subsequence 🔗 📝
|
- 1082. Sales Analysis I 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
- 1083. Sales Analysis II 🔗 📝
|
- 1083. Sales Analysis II 🔗 📝
|
💰 |
|
⭐️ |
- Database 🔗
|
- 1082. Sales Analysis I 🔗 📝
- 1084. Sales Analysis III 🔗 📝
|
- 1084. Sales Analysis III 🔗 📝
|
🆓 |
|
⭐️ |
- Database 🔗
|
- 1083. Sales Analysis II 🔗 📝
|
- 1085. Sum of Digits in the Minimum Number 🔗 📝
|
💰 |
|
⭐️ |
- Array 🔗
- Math 🔗
|
- 258. Add Digits 🔗 📝
|
- 1086. High Five 🔗 📝
|
💰 |
|
⭐️ |
- Array 🔗
- Hash Table 🔗
- Sorting 🔗
|
|
- 1087. Brace Expansion 🔗 📝
|
💰 |
|
⭐️⭐️ |
- String 🔗
- Backtracking 🔗
- Breadth-First Search 🔗
|
- 394. Decode String 🔗 📝
- 784. Letter Case Permutation 🔗 📝
- 1096. Brace Expansion II 🔗 📝
|
- 1088. Confusing Number II 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- Math 🔗
- Backtracking 🔗
|
- 1056. Confusing Number 🔗 📝
|
- 1089. Duplicate Zeros 🔗 📝
|
🆓 |
|
⭐️ |
- Array 🔗
- Two Pointers 🔗
|
|
- 1090. Largest Values From Labels 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Hash Table 🔗
- Greedy 🔗
- Sorting 🔗
- Counting 🔗
|
|
- 1091. Shortest Path in Binary Matrix 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Array 🔗
- Breadth-First Search 🔗
- Matrix 🔗
|
|
- 1092. Shortest Common Supersequence 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Dynamic Programming 🔗
|
- 1143. Longest Common Subsequence 🔗 📝
|
- 1093. Statistics from a Large Sample 🔗 📝
|
🆓 |
|
⭐️⭐️ |
- Math 🔗
- Two Pointers 🔗
- Probability and Statistics 🔗
|
|
- 1094. Car Pooling 🔗 📝
|
🆓 |
✅ |
⭐️⭐️ |
- Array 🔗
- Sorting 🔗
- Heap (Priority Queue) 🔗
- Simulation 🔗
- Prefix Sum 🔗
|
- 253. Meeting Rooms II 🔗 📝
|
- 1095. Find in Mountain Array 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- Array 🔗
- Binary Search 🔗
- Interactive 🔗
|
- 852. Peak Index in a Mountain Array 🔗 📝
- 1671. Minimum Number of Removals to Make Mountain Array 🔗 📝
- 2100. Find Good Days to Rob the Bank 🔗 📝
|
- 1096. Brace Expansion II 🔗 📝
|
🆓 |
|
⭐️⭐️⭐️ |
- String 🔗
- Backtracking 🔗
- Stack 🔗
- Breadth-First Search 🔗
|
- 1087. Brace Expansion 🔗 📝
|
- 1097. Game Play Analysis V 🔗 📝
|
💰 |
|
⭐️⭐️⭐️ |
- Database 🔗
|
- 550. Game Play Analysis IV 🔗 📝
|
- 1098. Unpopular Books 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Database 🔗
|
|
- 1099. Two Sum Less Than K 🔗 📝
|
💰 |
|
⭐️ |
- Array 🔗
- Two Pointers 🔗
- Binary Search 🔗
- Sorting 🔗
|
- 1. Two Sum 🔗 📝
- 167. Two Sum II - Input Array Is Sorted 🔗 📝
- 259. 3Sum Smaller 🔗 📝
- 713. Subarray Product Less Than K 🔗 📝
|
- 1100. Find K-Length Substrings With No Repeated Characters 🔗 📝
|
💰 |
|
⭐️⭐️ |
- Hash Table 🔗
- String 🔗
- Sliding Window 🔗
|
|