CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- 2973. Find Number of Coins to Place in Tree NodesHardLeetCodeDynamic ProgrammingTreeDepth-First SearchSorting
- 2977. Minimum Cost to Convert String IIHardLeetCodeArrayStringDynamic ProgrammingGraph Theory
- 2983. Palindrome Rearrangement QueriesHardLeetCodeArrayHash TableStringPrefix Sum
- 2991. Top Three Wineries HardLeetCodeDatabase
- 2994. Friday Purchases II HardLeetCodeDatabase
- 2995. Viewers Turned StreamersHardLeetCodeDatabase
- 2999. Count the Number of Powerful IntegersHardLeetCodeMathStringDynamic Programming
- 30. Substring with Concatenation of All WordsHardLeetCodeHash TableStringSliding Window
- 3003. Maximize the Number of Partitions After OperationsHardLeetCodeStringDynamic ProgrammingBit ManipulationBitmask
- 3008. Find Beautiful Indices in the Given Array IIHardLeetCodeTwo PointersStringBinary SearchRolling Hash
- 3009. Maximum Number of Intersections on the ChartHardLeetCodeArrayHash TableMathBinary Indexed Tree
- 301. Remove Invalid ParenthesesHardLeetCodeStringBacktrackingBreadth-First Search
- 3013. Divide an Array Into Subarrays With Minimum Cost IIHardLeetCodeArrayHash TableSliding WindowHeap (Priority Queue)
- 3017. Count the Number of Houses at a Certain Distance IIHardLeetCodeGraph TheoryPrefix Sum
- 3018. Maximum Number of Removal Queries That Can Be Processed IHardLeetCodeArrayDynamic Programming
- 302. Smallest Rectangle Enclosing Black PixelsHardLeetCodeArrayBinary SearchDepth-First SearchBreadth-First Search
- 3022. Minimize OR of Remaining Elements Using OperationsHardLeetCodeArrayGreedyBit Manipulation
- 3027. Find the Number of Ways to Place People IIHardLeetCodeArrayMathGeometrySorting
- 3031. Minimum Time to Revert Word to Initial State IIHardLeetCodeStringRolling HashString MatchingHash Function
- 3036. Number of Subarrays That Match a Pattern IIHardLeetCodeArrayRolling HashString MatchingHash Function
- 3037. Find Pattern in Infinite Stream IIHardLeetCodeArraySliding WindowRolling HashString Matching
- 3041. Maximize Consecutive Elements in an Array After ModificationHardLeetCodeArrayDynamic ProgrammingSorting
- 3045. Count Prefix and Suffix Pairs IIHardLeetCodeArrayStringTrieRolling Hash
- 3049. Earliest Second to Mark Indices IIHardLeetCodeArrayBinary SearchGreedyHeap (Priority Queue)
- 305. Number of Islands IIHardLeetCodeArrayHash TableUnion-Find
- 3052. Maximize ItemsHardLeetCodeDatabase
- 3057. Employees Project AllocationHardLeetCodeDatabase
- 3060. User Activities within Time BoundsHardLeetCodeDatabase
- 3061. Calculate Trapping Rain WaterHardLeetCodeDatabase
- 3068. Find the Maximum Sum of Node ValuesHardLeetCodeArrayDynamic ProgrammingGreedyBit Manipulation
- 3072. Distribute Elements Into Two Arrays IIHardLeetCodeArrayBinary Indexed TreeSegment TreeSimulation
- 3077. Maximum Strength of K Disjoint SubarraysHardLeetCodeArrayDynamic ProgrammingPrefix Sum
- 3082. Find the Sum of the Power of All SubsequencesHardLeetCodeArrayDynamic Programming
- 3086. Minimum Moves to Pick K OnesHardLeetCodeArrayGreedySliding WindowPrefix Sum
- 3088. Make String Anti-palindromeHardLeetCodeStringGreedySortingCounting Sort
- 3093. Longest Common Suffix QueriesHardLeetCodeArrayStringTrie
- 3098. Find the Sum of Subsequence PowersHardLeetCodeArrayDynamic ProgrammingSorting
- 3102. Minimize Manhattan DistancesHardLeetCodeArrayMathGeometrySorting
- 3103. Find Trending Hashtags II HardLeetCodeDatabase
- 3104. Find Longest Self-Contained SubstringHardLeetCodeHash TableStringSorting
- 3108. Minimum Cost Walk in Weighted GraphHardLeetCodeArrayBit ManipulationUnion-FindGraph Theory
- 3113. Find the Number of Subarrays Where Boundary Elements Are MaximumHardLeetCodeArrayBinary SearchStackMonotonic Stack
- 3116. Kth Smallest Amount With Single Denomination CombinationHardLeetCodeArrayMathBinary SearchBit Manipulation
- 3117. Minimum Sum of Values by Dividing ArrayHardLeetCodeArrayBinary SearchDynamic ProgrammingBit Manipulation
- 312. Burst BalloonsHardLeetCodeArrayDynamic Programming
- 3123. Find Edges in Shortest PathsHardLeetCodeDepth-First SearchBreadth-First SearchGraph TheoryHeap (Priority Queue)
- 3130. Find All Possible Stable Binary Arrays IIHardLeetCodeDynamic ProgrammingPrefix Sum
- 3134. Find the Median of the Uniqueness ArrayHardLeetCodeArrayHash TableBinary SearchSliding Window
- 3139. Minimum Cost to Equalize ArrayHardLeetCodeArrayGreedyEnumeration
- 3141. Maximum Hamming DistancesHardLeetCodeArrayBit ManipulationBreadth-First Search
- 3145. Find Products of Elements of Big ArrayHardLeetCodeArrayBinary SearchBit Manipulation
- 3149. Find the Minimum Cost Array PermutationHardLeetCodeArrayDynamic ProgrammingBit ManipulationBitmask
- 315. Count of Smaller Numbers After SelfHardLeetCodeArrayBinary SearchDivide and ConquerBinary Indexed Tree
- 3154. Find Number of Ways to Reach the K-th StairHardLeetCodeMathDynamic ProgrammingBit ManipulationMemoization
- 3156. Employee Task Duration and Concurrent TasksHardLeetCodeDatabase
- 3161. Block Placement QueriesHardLeetCodeArrayBinary SearchBinary Indexed TreeSegment Tree
- 3165. Maximum Sum of Subsequence With Non-adjacent ElementsHardLeetCodeArrayDivide and ConquerDynamic ProgrammingSegment Tree
- 317. Shortest Distance from All BuildingsHardLeetCodeArrayBreadth-First SearchMatrix
- 3171. Find Subarray With Bitwise OR Closest to KHardLeetCodeArrayBinary SearchBit ManipulationSegment Tree
- 3177. Find the Maximum Length of a Good Subsequence IIHardLeetCodeArrayHash TableDynamic Programming