CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Prefix Flip (Hard Version)1700Codeforcesconstructive algorithmsdata structuresimplementationstrings
- Prefix Purchase1800Codeforcesgreedyimplementationsortings
- Prefix Suffix Min Max2014CodeChef
- Prefix-Suffix Palindrome (Hard version)1800Codeforcesbinary searchgreedyhashingstring suffix structures
- Prefixes and Suffixes1700Codeforcesstrings
- Present1700Codeforcesbinary searchdata structuresgreedy
- Presents1800Codeforces*specialgreedy
- Price Tags1800Codeforcesbrute forcedpmath
- Primal Sport1700Codeforcesmathnumber theory
- Prime Factor Division2016CodeChef
- Prime Permutations2092CodeChef
- Prime Prefixes2178CodeChef
- Prime Segment1800Codeforces*specialbrute forcemathnumber theory
- Prime Swaps1800Codeforcesgreedysortings
- Prime factorization1800Codeforces*special
- Prime words2104CodeChef
- Primes and Multiplication1700Codeforcesmathnumber theory
- Primitive Primes1800Codeforcesconstructive algorithmsmathternary search
- Problem about GCD1800Codeforcesbrute forceflowsmathnumber theory
- Problem for Nazar1800Codeforcesconstructive algorithmsmath
- Problem with Random Tests1700Codeforcesbrute forcedpgreedyprobabilities
- Processing Queries1700Codeforces*specialconstructive algorithmsdata structurestwo pointers
- Product Equal Sum2111CodeChef
- Professor X and Grouping of Numbers2133CodeChef
- Program1700Codeforcesdata structuresdpimplementationstrings
- Programming Language1800Codeforcesbinary searchbrute forceexpression parsingimplementation
- Promising String (easy version)1700Codeforcesbrute forceimplementationmathstrings
- Pumping Water2068CodeChef
- Puppy and Board2041CodeChef
- Puppy and Catchers2168CodeChef
- Puzzles1700Codeforcesdfs and similarmathprobabilitiestrees
- Pyramid Traversal2194CodeChef
- Pyramids1700Codeforcesgeometrymath
- Python Indentation1800Codeforcesdp
- QED's Favorite Permutation1700Codeforcesdata structuresimplementationsortings
- Quartet Swapping1800Codeforcesbrute forcedata structuresdivide and conquergreedy
- Queries About Numbers2026CodeChef
- Queries for Number of Palindromes1800Codeforcesdphashingstrings
- Queries on a Binary Tree2187CodeChef
- Queries on the String2125CodeChef
- Queue1800Codeforcesconstructive algorithmsgreedysortings
- Quiz Master1700Codeforcesbinary searchmathnumber theorysortings
- RBS Deletion1800Codeforces*specialgreedy
- RPD and Rap Sheet (Easy Version)1700Codeforcesbitmasksconstructive algorithmsinteractivemath
- RPG Protagonist1700Codeforcesbrute forcegreedymath
- Railway System1700Codeforcesconstructive algorithmsgraphsgreedyinteractive
- Ralph And His Magic Field1800Codeforcescombinatoricsconstructive algorithmsmathnumber theory
- Random Query1800Codeforcesdata structuresmathprobabilitiestwo pointers
- Range = √Sum1800Codeforcesbinary searchbrute forceconstructive algorithmsmath
- Range Increments1800Codeforcesdata structuresgreedy
- Range MEX2040CodeChef
- Range and Partition1800Codeforcesbinary searchconstructive algorithmsdata structuresgreedy
- Ranom Numbers1800Codeforcesbrute forcedpgreedymath
- Rating Compression1800Codeforcesbinary searchdata structuresgreedyimplementation
- Rating System1800Codeforcesbinary searchbrute forcedata structuresdp
- Ray Tracing1800Codeforcesgreedyhashingimplementationmath
- Reachability and Tree1700Codeforcesconstructive algorithmsdfs and similargraphstrees
- Rearranging Digits2168CodeChef
- Reberland Linguistics1800Codeforcesdpimplementationstrings
- Rebus1800Codeforcesconstructive algorithmsexpression parsinggreedymath