Competitive Programming Gold Standard

CSES Problem Set & Handbook Solutions

The canonical algorithmic problem set designed by Antti Laaksonen (University of Helsinki). Each problem maps directly to chapters in the free Competitive Programmer's Handbook, paired with Errichto's video discussions and accepted C++ solutions.

CSES Solved0 / 400 (0%)
StatusIDProblem NameBook Chapter MappingDifficultyVerified Solution
#1068Weird AlgorithmChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1083Missing NumberChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1069RepetitionsChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1094Increasing ArrayChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1070PermutationsChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1071Number SpiralChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1072Two KnightsChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1092Two SetsChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1617Bit StringsChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1618Trailing ZerosChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1754Coin PilesChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1755Palindrome ReorderChapter 1 & 2: Introduction & Time Complexityp.3Easy
#2205Gray CodeChapter 1 & 2: Introduction & Time Complexityp.3Easy
#2165Tower of HanoiChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1622Creating StringsChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1623Apple DivisionChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1624Chessboard and QueensChapter 1 & 2: Introduction & Time Complexityp.3Easy
#3399Raab Game IChapter 1 & 2: Introduction & Time Complexityp.3Easy
#3419Mex Grid ConstructionChapter 1 & 2: Introduction & Time Complexityp.3Easy
#3217Knight Moves GridChapter 1 & 2: Introduction & Time Complexityp.3Easy
#3311Grid Coloring IChapter 1 & 2: Introduction & Time Complexityp.3Easy
#2431Digit QueriesChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1743String ReorderChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1625Grid Path DescriptionChapter 1 & 2: Introduction & Time Complexityp.3Easy
#1621Distinct NumbersChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1084ApartmentsChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1090Ferris WheelChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1091Concert TicketsChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1619Restaurant CustomersChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1629Movie FestivalChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1640Sum of Two ValuesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1643Maximum Subarray SumChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1074Stick LengthsChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2183Missing Coin SumChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2216Collecting NumbersChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2217Collecting Numbers IIChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1141PlaylistChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1073TowersChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1163Traffic LightsChapter 3 & 4: Sorting & Two Pointersp.25Medium
#3420Distinct Values SubarraysChapter 3 & 4: Sorting & Two Pointersp.25Medium
#3421Distinct Values SubsequencesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2162Josephus Problem IChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2163Josephus Problem IIChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2168Nested Ranges CheckChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2169Nested Ranges CountChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1164Room AllocationChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1620Factory MachinesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1630Tasks and DeadlinesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1631Reading BooksChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1641Sum of Three ValuesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1642Sum of Four ValuesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1645Nearest Smaller ValuesChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1660Subarray Sums IChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1661Subarray Sums IIChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1662Subarray DivisibilityChapter 3 & 4: Sorting & Two Pointersp.25Medium
#2428Distinct Values Subarrays IIChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1085Array DivisionChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1632Movie Festival IIChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1644Maximum Subarray Sum IIChapter 3 & 4: Sorting & Two Pointersp.25Medium
#1633Dice CombinationsChapter 7: Dynamic Programmingp.65Medium
#1634Minimizing CoinsChapter 7: Dynamic Programmingp.65Medium
#1635Coin Combinations IChapter 7: Dynamic Programmingp.65Medium
#1636Coin Combinations IIChapter 7: Dynamic Programmingp.65Medium
#1637Removing DigitsChapter 7: Dynamic Programmingp.65Medium
#1638Grid Paths IChapter 7: Dynamic Programmingp.65Medium
#1158Book ShopChapter 7: Dynamic Programmingp.65Medium
#1746Array DescriptionChapter 7: Dynamic Programmingp.65Medium
#2413Counting TowersChapter 7: Dynamic Programmingp.65Medium
#1639Edit DistanceChapter 7: Dynamic Programmingp.65Medium
#3403Longest Common SubsequenceChapter 7: Dynamic Programmingp.65Medium
#1744Rectangle CuttingChapter 7: Dynamic Programmingp.65Medium
#3359Minimal Grid PathChapter 7: Dynamic Programmingp.65Medium
#1745Money SumsChapter 7: Dynamic Programmingp.65Medium
#1097Removal GameChapter 7: Dynamic Programmingp.65Medium
#1093Two Sets IIChapter 7: Dynamic Programmingp.65Medium
#3314Mountain RangeChapter 7: Dynamic Programmingp.65Medium
#1145Increasing SubsequenceChapter 7: Dynamic Programmingp.65Medium
#1140ProjectsChapter 7: Dynamic Programmingp.65Medium
#1653Elevator RidesChapter 7: Dynamic Programmingp.65Medium
#2181Counting TilingsChapter 7: Dynamic Programmingp.65Medium
#2220Counting NumbersChapter 7: Dynamic Programmingp.65Medium
#1748Increasing Subsequence IIChapter 7: Dynamic Programmingp.65Medium
#1192Counting RoomsChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1193LabyrinthChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1666Building RoadsChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1667Message RouteChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1668Building TeamsChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1669Round TripChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1194MonstersChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1671Shortest Routes IChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1672Shortest Routes IIChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1673High ScoreChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1195Flight DiscountChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1197Cycle FindingChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1196Flight RoutesChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1678Round Trip IIChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1679Course ScheduleChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1680Longest Flight RouteChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1681Game RoutesChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1202InvestigationChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1750Planets Queries IChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1160Planets Queries IIChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1751Planets CyclesChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1675Road ReparationChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1676Road ConstructionChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1682Flight Routes CheckChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1683Planets and KingdomsChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1684Giant PizzaChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1686Coin CollectorChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1691Mail DeliveryChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1692De Bruijn SequenceChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1693Teleporters PathChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1690Hamiltonian FlightsChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1689Knight's TourChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1694Download SpeedChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1695Police ChaseChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1696School DanceChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1711Distinct RoutesChapter 11 - 13: Graph Algorithms & Pathsp.105Medium
#1646Static Range Sum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1647Static Range Minimum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1648Dynamic Range Sum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1649Dynamic Range Minimum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1650Range Xor QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1651Range Update QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1652Forest QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1143Hotel QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1749List RemovalsChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1144Salary QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#2166Prefix Sum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#2206Pizzeria QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#3304Visible Buildings QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#3163Range Interval QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1190Subarray Sum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#3226Subarray Sum Queries IIChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1734Distinct Values QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#3356Distinct Values Queries IIChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#2416Increasing Array QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1664Movie Festival QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1739Forest Queries IIChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1735Range Updates and SumsChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1736Polynomial QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1737Range Queries and CopiesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#2184Missing Coin Sum QueriesChapter 9 & 28: Range Queries & Segment Treesp.85Hard
#1674SubordinatesChapter 14: Tree Algorithmsp.135Medium
#1130Tree MatchingChapter 14: Tree Algorithmsp.135Medium
#1131Tree DiameterChapter 14: Tree Algorithmsp.135Medium
#1132Tree Distances IChapter 14: Tree Algorithmsp.135Medium
#1133Tree Distances IIChapter 14: Tree Algorithmsp.135Medium
#1687Company Queries IChapter 14: Tree Algorithmsp.135Medium
#1688Company Queries IIChapter 14: Tree Algorithmsp.135Medium
#1135Distance QueriesChapter 14: Tree Algorithmsp.135Medium
#1136Counting PathsChapter 14: Tree Algorithmsp.135Medium
#1137Subtree QueriesChapter 14: Tree Algorithmsp.135Medium
#1138Path QueriesChapter 14: Tree Algorithmsp.135Medium
#2134Path Queries IIChapter 14: Tree Algorithmsp.135Medium
#1139Distinct ColorsChapter 14: Tree Algorithmsp.135Medium
#2079Finding a CentroidChapter 14: Tree Algorithmsp.135Medium
#2080Fixed-Length Paths IChapter 14: Tree Algorithmsp.135Medium
#2081Fixed-Length Paths IIChapter 14: Tree Algorithmsp.135Medium
#2164Josephus QueriesChapter 21: Number Theory & Combinatoricsp.195Medium
#1095ExponentiationChapter 21: Number Theory & Combinatoricsp.195Medium
#1712Exponentiation IIChapter 21: Number Theory & Combinatoricsp.195Medium
#1713Counting DivisorsChapter 21: Number Theory & Combinatoricsp.195Medium
#1081Common DivisorsChapter 21: Number Theory & Combinatoricsp.195Medium
#1082Sum of DivisorsChapter 21: Number Theory & Combinatoricsp.195Medium
#2182Divisor AnalysisChapter 21: Number Theory & Combinatoricsp.195Medium
#2185Prime MultiplesChapter 21: Number Theory & Combinatoricsp.195Medium
#2417Counting Coprime PairsChapter 21: Number Theory & Combinatoricsp.195Medium
#3396Next PrimeChapter 21: Number Theory & Combinatoricsp.195Medium
#1079Binomial CoefficientsChapter 21: Number Theory & Combinatoricsp.195Medium
#1715Creating Strings IIChapter 21: Number Theory & Combinatoricsp.195Medium
#1716Distributing ApplesChapter 21: Number Theory & Combinatoricsp.195Medium
#1717Christmas PartyChapter 21: Number Theory & Combinatoricsp.195Medium
#3397Permutation OrderChapter 21: Number Theory & Combinatoricsp.195Medium
#3398Permutation RoundsChapter 21: Number Theory & Combinatoricsp.195Medium
#2064Bracket Sequences IChapter 21: Number Theory & Combinatoricsp.195Medium
#2187Bracket Sequences IIChapter 21: Number Theory & Combinatoricsp.195Medium
#2209Counting NecklacesChapter 21: Number Theory & Combinatoricsp.195Medium
#2210Counting GridsChapter 21: Number Theory & Combinatoricsp.195Medium
#1722Fibonacci NumbersChapter 21: Number Theory & Combinatoricsp.195Medium
#1096Throwing DiceChapter 21: Number Theory & Combinatoricsp.195Medium
#1723Graph Paths IChapter 21: Number Theory & Combinatoricsp.195Medium
#1724Graph Paths IIChapter 21: Number Theory & Combinatoricsp.195Medium
#3154System of Linear EquationsChapter 21: Number Theory & Combinatoricsp.195Medium
#3355Sum of Four SquaresChapter 21: Number Theory & Combinatoricsp.195Medium
#3406Triangle Number SumsChapter 21: Number Theory & Combinatoricsp.195Medium
#1725Dice ProbabilityChapter 21: Number Theory & Combinatoricsp.195Medium
#1726Moving RobotsChapter 21: Number Theory & Combinatoricsp.195Medium
#1727Candy LotteryChapter 21: Number Theory & Combinatoricsp.195Medium
#1728Inversion ProbabilityChapter 21: Number Theory & Combinatoricsp.195Medium
#1729Stick GameChapter 21: Number Theory & Combinatoricsp.195Medium
#1730Nim Game IChapter 21: Number Theory & Combinatoricsp.195Medium
#1098Nim Game IIChapter 21: Number Theory & Combinatoricsp.195Medium
#1099Stair GameChapter 21: Number Theory & Combinatoricsp.195Medium
#2207Grundy's GameChapter 21: Number Theory & Combinatoricsp.195Medium
#2208Another GameChapter 21: Number Theory & Combinatoricsp.195Medium
#1731Word CombinationsChapter 26: String Algorithms & Triep.243Medium
#1753String MatchingChapter 26: String Algorithms & Triep.243Medium
#1732Finding BordersChapter 26: String Algorithms & Triep.243Medium
#1733Finding PeriodsChapter 26: String Algorithms & Triep.243Medium
#1110Minimal RotationChapter 26: String Algorithms & Triep.243Medium
#1111Longest PalindromeChapter 26: String Algorithms & Triep.243Medium
#3138All PalindromesChapter 26: String Algorithms & Triep.243Medium
#1112Required SubstringChapter 26: String Algorithms & Triep.243Medium
#2420Palindrome QueriesChapter 26: String Algorithms & Triep.243Medium
#2102Finding PatternsChapter 26: String Algorithms & Triep.243Medium
#2103Counting PatternsChapter 26: String Algorithms & Triep.243Medium
#2104Pattern PositionsChapter 26: String Algorithms & Triep.243Medium
#2105Distinct SubstringsChapter 26: String Algorithms & Triep.243Medium
#1149Distinct SubsequencesChapter 26: String Algorithms & Triep.243Medium
#2106Repeating SubstringChapter 26: String Algorithms & Triep.243Medium
#2107String FunctionsChapter 26: String Algorithms & Triep.243Medium
#3225Inverse Suffix ArrayChapter 26: String Algorithms & Triep.243Medium
#1113String TransformChapter 26: String Algorithms & Triep.243Medium
#2108Substring Order IChapter 26: String Algorithms & Triep.243Medium
#2109Substring Order IIChapter 26: String Algorithms & Triep.243Medium
#2110Substring DistributionChapter 26: String Algorithms & Triep.243Medium
#2189Point Location TestChapter 29 & 30: Geometry & Sweep-linep.267Hard
#2190Line Segment IntersectionChapter 29 & 30: Geometry & Sweep-linep.267Hard
#2191Polygon AreaChapter 29 & 30: Geometry & Sweep-linep.267Hard
#2192Point in PolygonChapter 29 & 30: Geometry & Sweep-linep.267Hard
#2193Polygon Lattice PointsChapter 29 & 30: Geometry & Sweep-linep.267Hard
#2194Minimum Euclidean DistanceChapter 29 & 30: Geometry & Sweep-linep.267Hard
#2195Convex HullChapter 29 & 30: Geometry & Sweep-linep.267Hard
#3410Maximum Manhattan DistancesChapter 29 & 30: Geometry & Sweep-linep.267Hard
#3411All Manhattan DistancesChapter 29 & 30: Geometry & Sweep-linep.267Hard
#1740Intersection PointsChapter 29 & 30: Geometry & Sweep-linep.267Hard
#3427Line Segments Trace IChapter 29 & 30: Geometry & Sweep-linep.267Hard
#3428Line Segments Trace IIChapter 29 & 30: Geometry & Sweep-linep.267Hard
#3429Lines and Queries IChapter 29 & 30: Geometry & Sweep-linep.267Hard
#3430Lines and Queries IIChapter 29 & 30: Geometry & Sweep-linep.267Hard
#1741Area of RectanglesChapter 29 & 30: Geometry & Sweep-linep.267Hard
#1742Robot PathChapter 29 & 30: Geometry & Sweep-linep.267Hard
#1628Meet in the MiddleChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2136Hamming DistanceChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#3360Corner Subgrid CheckChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2137Corner Subgrid CountChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2138Reachable NodesChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2143Reachability QueriesChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2072Cut and PasteChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2073Substring ReversalsChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2074Reversals and SumsChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2076Necessary RoadsChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2077Necessary CitiesChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2078Eulerian SubgraphsChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2084Monster Game IChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2085Monster Game IIChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2086Subarray SquaresChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2087Houses and SchoolsChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2088Knuth DivisionChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2111Apples and BananasChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2112One Bit PositionsChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2113Signal ProcessingChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2101New Roads QueriesChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2133Dynamic ConnectivityChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2121Parcel DeliveryChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2129Task AssignmentChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#2130Distinct Routes IIChapter 28: Advanced Segment Trees & Parallel Algorithmsp.255Hard
#3220Sliding Window SumChapter 4: Two Pointers & Sliding Windowp.35Medium
#3221Sliding Window MinimumChapter 4: Two Pointers & Sliding Windowp.35Medium
#3426Sliding Window XorChapter 4: Two Pointers & Sliding Windowp.35Medium
#3405Sliding Window OrChapter 4: Two Pointers & Sliding Windowp.35Medium
#3222Sliding Window Distinct ValuesChapter 4: Two Pointers & Sliding Windowp.35Medium
#3224Sliding Window ModeChapter 4: Two Pointers & Sliding Windowp.35Medium
#3219Sliding Window MexChapter 4: Two Pointers & Sliding Windowp.35Medium
#1076Sliding Window MedianChapter 4: Two Pointers & Sliding Windowp.35Medium
#1077Sliding Window CostChapter 4: Two Pointers & Sliding Windowp.35Medium
#3223Sliding Window InversionsChapter 4: Two Pointers & Sliding Windowp.35Medium
#3227Sliding Window AdvertisementChapter 4: Two Pointers & Sliding Windowp.35Medium
#3112Hidden IntegerChapter 1: Interactive Tasks & Binary Searchp.15Medium
#3139Hidden PermutationChapter 1: Interactive Tasks & Binary Searchp.15Medium
#3305K-th Highest ScoreChapter 1: Interactive Tasks & Binary Searchp.15Medium
#3228Permuted Binary StringsChapter 1: Interactive Tasks & Binary Searchp.15Medium
#3273Colored ChairsChapter 1: Interactive Tasks & Binary Searchp.15Medium
#3140Inversion SortingChapter 1: Interactive Tasks & Binary Searchp.15Medium
#1146Counting BitsChapter 2: Bit Operations & Setsp.17Easy
#1655Maximum Xor SubarrayChapter 2: Bit Operations & Setsp.17Easy
#3191Maximum Xor SubsetChapter 2: Bit Operations & Setsp.17Easy
#3211Number of Subset XorsChapter 2: Bit Operations & Setsp.17Easy
#3192K Subset XorsChapter 2: Bit Operations & Setsp.17Easy
#3233All Subarray XorsChapter 2: Bit Operations & Setsp.17Easy
#2419Xor Pyramid PeakChapter 2: Bit Operations & Setsp.17Easy
#3194Xor Pyramid DiagonalChapter 2: Bit Operations & Setsp.17Easy
#3195Xor Pyramid RowChapter 2: Bit Operations & Setsp.17Easy
#1654SOS Bit ProblemChapter 2: Bit Operations & Setsp.17Easy
#3141And Subset CountChapter 2: Bit Operations & Setsp.17Easy
#2214Inverse InversionsChapter 1: Problem Solving Strategiesp.5Medium
#2215Monotone SubsequencesChapter 1: Problem Solving Strategiesp.5Medium
#3422Third PermutationChapter 1: Problem Solving Strategiesp.5Medium
#3423Permutation Prime SumsChapter 1: Problem Solving Strategiesp.5Medium
#1697Chess TournamentChapter 1: Problem Solving Strategiesp.5Medium
#3424Distinct Sums GridChapter 1: Problem Solving Strategiesp.5Medium
#2423Filling TrominosChapter 1: Problem Solving Strategiesp.5Medium
#2418Grid Path ConstructionChapter 1: Problem Solving Strategiesp.5Medium
#3303Nearest ShopsChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1134Prüfer CodeChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1702Tree TraversalsChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1757Course Schedule IIChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1756Acyclic Graph EdgesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#2177Strongly Connected EdgesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#2179Even Outdegree EdgesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1707Graph GirthChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3357Fixed Length Walk QueriesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3111Transfer Speeds SumChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3407MST Edge CheckChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3408MST Edge Set CheckChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3409MST Edge CostChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1677Network BreakdownChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3114Tree Coin Collecting IChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3149Tree Coin Collecting IIChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1700Tree Isomorphism IChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1701Tree Isomorphism IIChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1699Flight Route RequestsChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1703Critical CitiesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1203Visiting CitiesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3308Graph ColoringChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3158Bus CompaniesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3358Split into Two PathsChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1704Network RenovationChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1705Forbidden CitiesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1752Creating OfficesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#1685New Flight RoutesChapter 19 - 20: Network Flows & Matchingsp.185Hard
#3413Filled Subgrid Count IChapter 22: Combinatorics & Countingp.205Hard
#3414Filled Subgrid Count IIChapter 22: Combinatorics & Countingp.205Hard
#3415All Letter Subgrid Count IChapter 22: Combinatorics & Countingp.205Hard
#3416All Letter Subgrid Count IIChapter 22: Combinatorics & Countingp.205Hard
#3417Border Subgrid Count IChapter 22: Combinatorics & Countingp.205Hard
#3418Border Subgrid Count IIChapter 22: Combinatorics & Countingp.205Hard
#3400Raab Game IIChapter 22: Combinatorics & Countingp.205Hard
#1080Empty StringChapter 22: Combinatorics & Countingp.205Hard
#2229Permutation InversionsChapter 22: Combinatorics & Countingp.205Hard
#2176Counting BishopsChapter 22: Combinatorics & Countingp.205Hard
#2228Counting SequencesChapter 22: Combinatorics & Countingp.205Hard
#1078Grid Paths IIChapter 22: Combinatorics & Countingp.205Hard
#1075Counting PermutationsChapter 22: Combinatorics & Countingp.205Hard
#2429Grid CompletionChapter 22: Combinatorics & Countingp.205Hard
#2421Counting ReordersChapter 22: Combinatorics & Countingp.205Hard
#3232Tournament Graph DistributionChapter 22: Combinatorics & Countingp.205Hard
#3157Collecting Numbers DistributionChapter 22: Combinatorics & Countingp.205Hard
#2415Functional Graph DistributionChapter 22: Combinatorics & Countingp.205Hard
#1087Shortest SubsequenceChapter 28: Comprehensive Challenges Ip.255Hard
#3150Distinct Values SumChapter 28: Comprehensive Challenges Ip.255Hard
#3190Distinct Values SplitsChapter 28: Comprehensive Challenges Ip.255Hard
#1670Swap GameChapter 28: Comprehensive Challenges Ip.255Hard
#3175Beautiful Permutation IIChapter 28: Comprehensive Challenges Ip.255Hard
#2422Multiplication TableChapter 28: Comprehensive Challenges Ip.255Hard
#3151Bubble Sort Rounds IChapter 28: Comprehensive Challenges Ip.255Hard
#3152Bubble Sort Rounds IIChapter 28: Comprehensive Challenges Ip.255Hard
#3306Nearest Campsites IChapter 28: Comprehensive Challenges Ip.255Hard
#3307Nearest Campsites IIChapter 28: Comprehensive Challenges Ip.255Hard
#1142AdvertisementChapter 28: Comprehensive Challenges Ip.255Hard
#2186Special SubstringsChapter 28: Comprehensive Challenges Ip.255Hard
#3169Counting LCM ArraysChapter 28: Comprehensive Challenges Ip.255Hard
#3193Square SubsetsChapter 28: Comprehensive Challenges Ip.255Hard
#3294Subarray Sum ConstraintsChapter 28: Comprehensive Challenges Ip.255Hard
#3213Water Containers MovesChapter 28: Comprehensive Challenges Ip.255Hard
#3214Water Containers QueriesChapter 28: Comprehensive Challenges Ip.255Hard
#2425Stack WeightsChapter 28: Comprehensive Challenges Ip.255Hard
#3301Maximum Average SubarraysChapter 28: Comprehensive Challenges Ip.255Hard
#3302Subsets with Fixed AverageChapter 28: Comprehensive Challenges Ip.255Hard
#3361Two Array AverageChapter 28: Comprehensive Challenges Ip.255Hard
#1747Pyramid ArrayChapter 28: Comprehensive Challenges Ip.255Hard
#3404Permutation SubsequenceChapter 28: Comprehensive Challenges Ip.255Hard
#1188Bit InversionsChapter 28: Comprehensive Challenges Ip.255Hard
#1086Writing NumbersChapter 28: Comprehensive Challenges Ip.255Hard
#2427Letter Pair Move GameChapter 28: Comprehensive Challenges Ip.255Hard
#1147Maximum Building IChapter 28: Comprehensive Challenges Ip.255Hard
#1162Sorting MethodsChapter 28: Comprehensive Challenges Ip.255Hard
#1191Cyclic ArrayChapter 28: Comprehensive Challenges Ip.255Hard
#2414List of SumsChapter 28: Comprehensive Challenges Ip.255Hard
#3215Bouncing Ball StepsChapter 28: Comprehensive Challenges IIp.255Hard
#3216Bouncing Ball CycleChapter 28: Comprehensive Challenges IIp.255Hard
#3218Knight Moves QueriesChapter 28: Comprehensive Challenges IIp.255Hard
#3108K Subset Sums IChapter 28: Comprehensive Challenges IIp.255Hard
#3109K Subset Sums IIChapter 28: Comprehensive Challenges IIp.255Hard
#2132Increasing Array IIChapter 28: Comprehensive Challenges IIp.255Hard
#1189Food DivisionChapter 28: Comprehensive Challenges IIp.255Hard
#1698Swap Round SortingChapter 28: Comprehensive Challenges IIp.255Hard
#2430Binary SubsequencesChapter 28: Comprehensive Challenges IIp.255Hard
#1706School ExcursionChapter 28: Comprehensive Challenges IIp.255Hard
#1709Coin GridChapter 28: Comprehensive Challenges IIp.255Hard
#3312Grid Coloring IIChapter 28: Comprehensive Challenges IIp.255Hard
#2426Programmers and ArtistsChapter 28: Comprehensive Challenges IIp.255Hard
#2174Removing Digits IIChapter 28: Comprehensive Challenges IIp.255Hard
#2180Coin ArrangementChapter 28: Comprehensive Challenges IIp.255Hard
#3159Replace with DifferenceChapter 28: Comprehensive Challenges IIp.255Hard
#2432Grid Puzzle IChapter 28: Comprehensive Challenges IIp.255Hard
#2131Grid Puzzle IIChapter 28: Comprehensive Challenges IIp.255Hard
#2115Bit SubstringsChapter 28: Comprehensive Challenges IIp.255Hard
#2075Reversal SortingChapter 28: Comprehensive Challenges IIp.255Hard
#1159Book Shop IIChapter 28: Comprehensive Challenges IIp.255Hard
#3161GCD SubsetsChapter 28: Comprehensive Challenges IIp.255Hard
#3402Minimum Cost PairsChapter 28: Comprehensive Challenges IIp.255Hard
#3425Same Sum SubsetsChapter 28: Comprehensive Challenges IIp.255Hard
#1157Mex Grid QueriesChapter 28: Comprehensive Challenges IIp.255Hard
#1148Maximum Building IIChapter 28: Comprehensive Challenges IIp.255Hard
#1161Stick DivisionsChapter 28: Comprehensive Challenges IIp.255Hard
#3401Stick DifferenceChapter 28: Comprehensive Challenges IIp.255Hard
#1665Coding CompanyChapter 28: Comprehensive Challenges IIp.255Hard
#2402Two Stacks SortingChapter 28: Comprehensive Challenges IIp.255Hard