CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- 1574. Shortest Subarray to be Removed to Make Array SortedMediumLeetCodeArrayTwo PointersBinary SearchStack
- 1577. Number of Ways Where Square of Number Is Equal to Product of Two NumbersMediumLeetCodeArrayHash TableMathTwo Pointers
- 1578. Minimum Time to Make Rope ColorfulMediumLeetCodeArrayStringDynamic ProgrammingGreedy
- 1580. Put Boxes Into the Warehouse IIMediumLeetCodeArrayGreedySorting
- 1583. Count Unhappy FriendsMediumLeetCodeArraySimulation
- 1584. Min Cost to Connect All PointsMediumLeetCodeArrayUnion-FindGraph TheoryMinimum Spanning Tree
- 1586. Binary Search Tree Iterator IIMediumLeetCodeStackTreeDesignBinary Search Tree
- 1589. Maximum Sum Obtained of Any PermutationMediumLeetCodeArrayGreedySortingPrefix Sum
- 159. Longest Substring with At Most Two Distinct CharactersMediumLeetCodeHash TableStringSliding Window
- 1590. Make Sum Divisible by PMediumLeetCodeArrayHash TablePrefix Sum
- 1593. Split a String Into the Max Number of Unique SubstringsMediumLeetCodeHash TableStringBacktracking
- 1594. Maximum Non Negative Product in a MatrixMediumLeetCodeArrayDynamic ProgrammingMatrix
- 1596. The Most Frequently Ordered Products for Each CustomerMediumLeetCodeDatabase
- 1599. Maximum Profit of Operating a Centennial WheelMediumLeetCodeArraySimulation
- 16. 3Sum ClosestMediumLeetCodeArrayTwo PointersSorting
- 1600. Throne InheritanceMediumLeetCodeHash TableTreeDepth-First SearchDesign
- 1602. Find Nearest Right Node in Binary TreeMediumLeetCodeTreeBreadth-First SearchBinary Tree
- 1604. Alert Using Same Key-Card Three or More Times in a One Hour PeriodMediumLeetCodeArrayHash TableStringSorting
- 1605. Find Valid Matrix Given Row and Column SumsMediumLeetCodeArrayGreedyMatrix
- 1609. Even Odd TreeMediumLeetCodeTreeBreadth-First SearchBinary Tree
- 161. One Edit DistanceMediumLeetCodeTwo PointersString
- 1612. Check If Two Expression Trees are EquivalentMediumLeetCodeHash TableTreeDepth-First SearchBinary Tree
- 1613. Find the Missing IDsMediumLeetCodeDatabase
- 1615. Maximal Network RankMediumLeetCodeGraph Theory
- 1616. Split Two Strings to Make PalindromeMediumLeetCodeTwo PointersString
- 1618. Maximum Font to Fit a Sentence in a ScreenMediumLeetCodeArrayStringBinary SearchInteractive
- 162. Find Peak ElementMediumLeetCodeArrayBinary Search
- 1620. Coordinate With Maximum Network QualityMediumLeetCodeArrayEnumeration
- 1621. Number of Sets of K Non-Overlapping Line SegmentsMediumLeetCodeMathDynamic ProgrammingCombinatoricsPrefix Sum
- 1625. Lexicographically Smallest String After Applying OperationsMediumLeetCodeStringDepth-First SearchBreadth-First SearchEnumeration
- 1626. Best Team With No ConflictsMediumLeetCodeArrayDynamic ProgrammingSorting
- 1628. Design an Expression Tree With Evaluate FunctionMediumLeetCodeArrayMathStackTree
- 1630. Arithmetic SubarraysMediumLeetCodeArrayHash TableSorting
- 1631. Path With Minimum EffortMediumLeetCodeArrayBinary SearchDepth-First SearchBreadth-First Search
- 1634. Add Two Polynomials Represented as Linked ListsMediumLeetCodeLinked ListMathTwo Pointers
- 1638. Count Substrings That Differ by One CharacterMediumLeetCodeHash TableStringDynamic ProgrammingEnumeration
- 164. Maximum GapMediumLeetCodeArraySortingBucket SortRadix Sort
- 1641. Count Sorted Vowel StringsMediumLeetCodeMathDynamic ProgrammingCombinatorics
- 1642. Furthest Building You Can ReachMediumLeetCodeArrayGreedyHeap (Priority Queue)
- 1644. Lowest Common Ancestor of a Binary Tree IIMediumLeetCodeTreeDepth-First SearchBinary Tree
- 1647. Minimum Deletions to Make Character Frequencies UniqueMediumLeetCodeHash TableStringGreedySorting
- 1648. Sell Diminishing-Valued Colored BallsMediumLeetCodeArrayMathBinary SearchGreedy
- 165. Compare Version NumbersMediumLeetCodeTwo PointersString
- 1650. Lowest Common Ancestor of a Binary Tree IIIMediumLeetCodeHash TableTwo PointersTreeBinary Tree
- 1653. Minimum Deletions to Make String BalancedMediumLeetCodeStringDynamic ProgrammingStack
- 1654. Minimum Jumps to Reach HomeMediumLeetCodeArrayHash TableBreadth-First Search
- 1657. Determine if Two Strings Are CloseMediumLeetCodeHash TableStringSortingCounting
- 1658. Minimum Operations to Reduce X to ZeroMediumLeetCodeArrayHash TableBinary SearchSliding Window
- 166. Fraction to Recurring DecimalMediumLeetCodeHash TableMathString
- 1660. Correct a Binary TreeMediumLeetCodeHash TableTreeDepth-First SearchBreadth-First Search
- 1663. Smallest String With A Given Numeric ValueMediumLeetCodeStringGreedy
- 1664. Ways to Make a Fair ArrayMediumLeetCodeArrayPrefix Sum
- 1666. Change the Root of a Binary TreeMediumLeetCodeTreeDepth-First SearchBinary Tree
- 1669. Merge In Between Linked ListsMediumLeetCodeLinked List
- 167. Two Sum II - Input Array Is SortedMediumLeetCodeArrayTwo PointersBinary Search
- 1670. Design Front Middle Back QueueMediumLeetCodeArrayLinked ListDesignQueue
- 1673. Find the Most Competitive SubsequenceMediumLeetCodeArrayStackGreedyMonotonic Stack
- 1674. Minimum Moves to Make Array ComplementaryMediumLeetCodeArrayHash TablePrefix Sum
- 1676. Lowest Common Ancestor of a Binary Tree IVMediumLeetCodeHash TableTreeDepth-First SearchBinary Tree
- 1679. Max Number of K-Sum PairsMediumLeetCodeArrayHash TableTwo PointersSorting