CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Pizza Delivery2438CodeChef
- Placing Rooks2300Codeforcescombinatoricsfftmath
- Playing Quidditch (Easy)2300Codeforcesimplementation
- Playing Quidditch (Hard)2300Codeforcesimplementation
- Playing Quidditch (Medium)2300Codeforcesimplementation
- Playing with String2300Codeforcesgames
- Playlist2100Codeforcesmathprobabilitiessortings
- Playlist for Polycarp (easy version)2100Codeforcesbitmaskscombinatoricsdp
- Playoff Fixing2200Codeforcescombinatoricstrees
- Plumber2200Codeforcesmath
- Pluses everywhere2200Codeforcescombinatoricsdpmathnumber theory
- Point Ordering2300Codeforcesconstructive algorithmsgeometryinteractivemath
- Points in triangle2100Codeforces*specialgeometry
- Points on Plane2100Codeforcesconstructive algorithmsdivide and conquergeometrygreedy
- Points, Lines and Ready-made Titles2300Codeforcesdfs and similardsugraphstrees
- Pokémon Army (hard version)2100Codeforcesdata structuresdivide and conquerdpgreedy
- Police Stations2100Codeforcesconstructive algorithmsdfs and similardpgraphs
- Polo the Penguin and the Lucky String2461CodeChef
- Polycarp's Picture Gallery2100Codeforcesconstructive algorithmsgreedy
- Polycarp's problems2300Codeforcesbinary searchdpgreedy
- Polycarpus is Looking for Good Substrings2300Codeforcesbitmaskshashingimplementation
- Polygon2300Codeforcesconstructive algorithmsgeometry
- Polygons2100Codeforcesgeometrysortings
- Poman Numbers2300Codeforcesbitmasksgreedymathstrings
- Portals2100Codeforcesdata structuresdpgreedyimplementation
- Post Lamps2100Codeforcesbrute forcegreedy
- Postman and LLM2469CodeChef
- Potion Brewing Class2100Codeforcesdfs and similarmathnumber theorytrees
- Power Board2200Codeforcesbrute forcedpmathnumber theory
- Power Boxes2300Codeforcesconstructive algorithmsdpimplementationinteractive
- Powerful Ksenia2200Codeforcesbitmasksconstructive algorithmsmath
- Powerful array2200Codeforcesdata structuresimplementationmathtwo pointers
- Prairie Partition2200Codeforcesbinary searchconstructive algorithmsgreedymath
- Predicting Popularity2100Codeforcesbinary searchdata structuresgreedysortings
- Prefix Function Queries2200Codeforcesdfs and similardphashingstring suffix structures
- Prefix GCD2200Codeforcesbrute forcedpgreedymath
- Prefix Product Sequence2300Codeforcesconstructive algorithmsmathnumber theory
- Prefix Suffix Distinct2585CodeChef
- Prefixes and Suffixes2200Codeforcesconstructive algorithmsstringstwo pointers
- Preorder2100Codeforcescombinatoricsdivide and conquerdpdsu
- Present2100Codeforcesbinary searchbitmasksconstructive algorithmsdata structures
- Presents in Bankopolis2100Codeforcesdpgraphsshortest paths
- President and Roads2200Codeforcesdfs and similargraphshashingshortest paths
- Prime Distance On Tree2508CodeChef
- Prime Gaming (Easy Version)2200Codeforcesbitmaskscombinatoricsdp
- Prime Graph2496CodeChef
- Prime Problem2200Codeforcesnumber theory
- Prime Range Game2482CodeChef
- Printer2200Codeforcesbinary searchdata structuresimplementationsortings
- Priority Queue2200Codeforcescombinatoricsdpimplementationmath
- Priya and Parity2580CodeChef
- Probabilistic Card Game2200Codeforcesbinary searchdata structuresgamesgreedy
- Product Oriented Recurrence2300Codeforcesdpmathmatricesnumber theory
- Product on the segment by modulo 2581CodeChef
- Product transformation2200Codeforcescombinatoricsmathnumber theory
- Professor GukiZ and Two Arrays2200Codeforcesbinary searchtwo pointers
- Profitable Paths2505CodeChef
- Progress Monitoring2300Codeforcesdptrees
- Promising String (hard version)2100Codeforcesdata structuresimplementationmathstrings
- Property2100Codeforcesgreedysortings