CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Orac and Game of Life2000Codeforcesdfs and similargraphsimplementationshortest paths
- Orac and Medians2000Codeforcesconstructive algorithmsgreedymath
- Ordering Pizza1900Codeforcesbinary searchsortingsternary search
- Organisation2249CodeChef
- Orientation of Edges1900Codeforcesdfs and similargraphs
- Out of Controls2000Codeforces*special
- PDS Number2323CodeChef
- PLEASE2000Codeforcescombinatoricsdpimplementationmath
- Packing the Boxes2291CodeChef
- Paint it really, really dark gray1900Codeforcesdfs and similar
- Painting Fence1900Codeforcesdivide and conquerdpgreedy
- Painting the Array I1900Codeforcesconstructive algorithmsdata structuresdpgreedy
- Pair Of Lines2000Codeforcesgeometry
- Pair of Numbers2000Codeforcesbinary searchbrute forcedata structuresmath
- Pairs1900Codeforcesbinary searchconstructive algorithmsgreedytwo pointers
- Pairs of Numbers1900Codeforcesbrute forcedfs and similarmathnumber theory
- Pairs of Segments2000Codeforcesdata structuresgreedysortingstwo pointers
- Palindrome1900Codeforcesconstructive algorithmsdp
- Palindrome Flipping2000Codeforcesbrute forceconstructive algorithmsgraphsimplementation
- Palindrome Game (hard version)1900Codeforcesconstructive algorithmsgames
- Palindrome In Making2322CodeChef
- Palindrome Palindrome2392CodeChef
- Palindromes1900Codeforcesdpstrings
- Palindromes Not Allowed2279CodeChef
- Palindromic characteristics1900Codeforcesbrute forcedphashingstrings
- Parabola Independence2000Codeforcesdpgraphsgreedymath
- Parquet2000Codeforcescombinatoricsconstructive algorithmsgreedyimplementation
- Partial Sums1900Codeforcescombinatoricsmathnumber theory
- Partition It2202CodeChef
- Pashmak and Buses1900Codeforcescombinatoricsconstructive algorithmsmath
- Pashmak and Graph1900Codeforcesdpsortings
- Passable Paths (easy version)1900Codeforcesdfs and similartrees
- Passable Paths (hard version)2000Codeforcesdata structuresdfs and similartrees
- Paths and Trees2000Codeforcesgraphsgreedyshortest paths
- Paths in a Complete Binary Tree1900Codeforcesbitmaskstrees
- Paths on the Tree1900Codeforcesdfs and similardpgreedysortings
- Pavel and Triangles1900Codeforcesbrute forcedpfftgreedy
- Pawn1900Codeforcesdp
- Paying optimally2349CodeChef
- Pchelyonok and Segments2000Codeforcesbinary searchdata structuresdpgreedy
- Perfect Matching2203CodeChef
- Perfect Necklace2270CodeChef
- Perfect Prefixes2343CodeChef
- Perfect Subarrays2398CodeChef
- Perfection2340CodeChef
- Perform Easily1900Codeforcesbinary searchbrute forcedpimplementation
- Perform Operations to Maximize Score1900Codeforcesbinary searchbrute forceconstructive algorithmsgreedy
- Permutation Addicts1900Codeforcesconstructive algorithmsdata structuresdfs and similardsu
- Permutation Commutation2000Codeforcesdata structuresgraphsgreedy
- Permutation Graph1900Codeforcesbinary searchconstructive algorithmsdata structuresdivide and conquer
- Permutation Restoration1900Codeforcesbinary searchdata structuresgreedymath
- Permutation Sum1900Codeforcesbitmaskscombinatoricsdpimplementation
- Peter and Snow Blower1900Codeforcesbinary searchgeometryternary search
- Petr#2000Codeforcesbrute forcedata structureshashingstrings
- Petya and Construction Set2000Codeforcesconstructive algorithmsgraphsmathsortings
- Petya and Divisors1900Codeforcesbinary searchdata structuresnumber theory
- Petya and Post2000Codeforcesdata structuresdp
- Phoenix and Science1900Codeforcesbinary searchconstructive algorithmsgreedyimplementation
- Phone Talks1900Codeforces*specialdpsortings
- Photo Processing1900Codeforcesbinary searchdp