CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Painting the Array II2100Codeforcesconstructive algorithmsdata structuresdpgreedy
- Painting the Boxes2411CodeChef
- Paired Payment2200Codeforcesbinary searchbrute forceconstructive algorithmsdp
- Pairwise Modulo2300Codeforcesdata structuresmath
- Pairwise Sums2300Codeforces*special
- Palindrome Degree2200Codeforceshashingstrings
- Palindrome-less Arrays2200Codeforcescombinatoricsdivide and conquerdp
- Palindromic Doubles2200Codeforces*specialdata structuresdp
- Pappu and DFS2509CodeChef
- Parade2100Codeforcesdata structuressortings
- Parenthesis with Maximum Sum Subarray2435CodeChef
- Parity tree2466CodeChef
- Parking Lot2200Codeforcesdata structures
- Parry It! (Hard)2520CodeChef
- Partial Sorting2300Codeforcescombinatoricsmathnumber theory
- Party2510CodeChef
- Party Organization2300Codeforcesbrute forcemathprobabilities
- Party Planning2562CodeChef
- Pasha and Pipe2300Codeforcesbinary searchbrute forcecombinatoricsdp
- Path Canonization2200Codeforces*special
- Path containing K Nodes2475CodeChef
- Path-etic Products2470CodeChef
- Paths in a Tree2100Codeforcesdfs and similarinteractivesortingstrees
- Pathwalks2100Codeforcesdata structuresdpgraphs
- Pattern Matching2300Codeforcesbitmasksdata structuresdfs and similargraphs
- Penacony2200Codeforcesbrute forcedata structuresgraphsgreedy
- Penchick and Chloe's Trees2100Codeforcesdata structuresdfs and similardpgreedy
- Pencils and Boxes2100Codeforcesbinary searchdata structuresdpgreedy
- Perfect Cut2100Codeforces*specialdpgreedy
- Perfect Groups2100Codeforcesdpmathnumber theory
- Perfect Triples2200Codeforcesbitmasksbrute forceconstructive algorithmsdivide and conquer
- Performance Review2100Codeforcesdata structures
- Periodic RMQ Problem2300Codeforcesdata structures
- Periodical Numbers2100Codeforcescombinatoricsdpnumber theory
- Permutation Pair2468CodeChef
- Permutation Problem (Simple Version)2200Codeforcesbinary searchbrute forcecombinatoricsdata structures
- Permutation Separation2200Codeforcesdata structuresdivide and conquer
- Permutation Shift2100Codeforcesbrute forcecombinatoricsconstructive algorithmsdfs and similar
- Permutation Sorting2100Codeforcesdata structuressortings
- Permutation Swaps2592CodeChef
- Permutation Transmission (Difficult Version)2300Codeforcesbitmaskscombinatoricssortings
- Permutation Transmission (Easy Version)2200Codeforcesbitmaskscombinatoricssortings
- Permutation recovery2100Codeforcesconstructive algorithmsdata structuresdfs and similargraphs
- PermutationForces II2300Codeforcesbrute forcecombinatoricsgreedysortings
- Permutations Harmony2200Codeforcescombinatoricsconstructive algorithmsgreedyhashing
- Permute Digits2451CodeChef
- Perse-script2300Codeforces*specialexpression parsing
- Persistent Bookcase 2200Codeforcesbitmasksdata structuresdfs and similarimplementation
- Personality Test2300Codeforces
- Petya and Coloring2300Codeforcescombinatoricsdp
- Petya and Pipes2300Codeforcesflowsgraphsshortest paths
- Petya and Spiders2100Codeforcesbitmasksdpdsu
- Petya and Tree2200Codeforcesbinary searchdfs and similarprobabilitiessortings
- Petya, Petya, Petr, and Palindromes2100Codeforcesbinary searchbrute forcedata structurestwo pointers
- Phoenix and Computers2200Codeforcescombinatoricsdpmath
- Physical Education Lessons2300Codeforcesdata structuresimplementationsortings
- Pictures with Kittens (hard version)2100Codeforcesdata structuresdp
- Piet2100Codeforcesimplementation
- Pig and Palindromes2300Codeforcescombinatoricsdp
- Pixels2100Codeforcesconstructive algorithmsmath