CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Prefix-Suffix Palindrome (Easy version)1500Codeforceshashingstring suffix structuresstrings
- Prefix-Suffix Reconstruction1927CodeChef
- Preparing Dishes1971CodeChef
- Preparing for Merge Sort1600Codeforcesbinary searchdata structures
- Price Maximization1500Codeforcesbinary searchgreedymathtwo pointers
- PriceFixed1600Codeforcesbinary searchgreedyimplementationsortings
- Pride1500Codeforcesbrute forcedpgreedymath
- Prime Graph1500Codeforcesconstructive algorithmsgreedymathnumber theory
- Prime Pattern1854CodeChef
- Prime Permutation1928CodeChef
- Prime factorization1600Codeforces*special
- Primes on Interval1600Codeforcesbinary searchnumber theorytwo pointers
- Primes or Palindromes?1600Codeforcesbrute forceimplementationmathnumber theory
- Producing Snow1600Codeforcesbinary searchdata structures
- Product 1 Modulo N1600Codeforcesgreedynumber theory
- Product Pain1993CodeChef
- Product Sum Arrays (Hard)1978CodeChef
- Product of divisors1857CodeChef
- Pull Your Luck1500Codeforcesbrute forcegreedymathnumber theory
- Purification1500Codeforcesconstructive algorithmsgreedy
- Pyramid of Glasses1500Codeforcesimplementationmath
- Pythagorean Pair1862CodeChef
- Pythagorean Triples1500Codeforcesbinary searchbrute forcemathnumber theory
- Pythagorean Triples1500Codeforcesmathnumber theory
- QR code1500Codeforces*specialimplementation
- Quadratic Equations1939CodeChef
- Quadratic equation1500Codeforces*special
- Qualification Rounds1500Codeforcesbitmasksbrute forceconstructive algorithmsdp
- Quantity of Strings1600Codeforcescombinatoricsdfs and similargraphsmath
- Queen Blocks1946CodeChef
- Queries for the Array1600Codeforcesdata structuresdfs and similarimplementationstrings
- Query over Matrix1898CodeChef
- Quests1500Codeforcesbinary searchgreedysortings
- Queue1500Codeforcesbinary searchdata structures
- Queue1500Codeforcesdsuimplementation
- Quiz1600Codeforcesbinary searchgreedymathmatrices
- RGB Substring (easy version)1500Codeforcesimplementation
- RGB Substring (hard version)1600Codeforcesdata structuresdpimplementationtwo pointers
- Rabbits1500Codeforcesconstructive algorithmsdpgreedyimplementation
- Radio Towers1600Codeforcescombinatoricsdpmath
- Rae Taylor and Trees (hard version)1600Codeforcesbinary searchconstructive algorithmsdata structuresdp
- Ramesses and Corner Inversion1500Codeforcesconstructive algorithmsgreedyimplementationmath
- Random Events1500Codeforcesdpmathprobabilities
- Range Update Point Query1500Codeforcesbinary searchbrute forcedata structures
- Range of Data1880CodeChef
- Rank of the Number1966CodeChef
- Rapid Re-Orderings1846CodeChef
- Ratings and Rankings1978CodeChef
- Rational Resistance1600Codeforcesmathnumber theory
- Ravioli Sort1600Codeforcesimplementation
- Reach Equilibrium1991CodeChef
- Reading Books (easy version)1600Codeforcesdata structuresgreedysortings
- Really Big Numbers1600Codeforcesbinary searchbrute forcedpmath
- Rectangle1942CodeChef
- Rectangle Coloring1977CodeChef
- Rectangle and Square1600Codeforcesbrute forcegeometrymath
- Rectangles1600Codeforcesgeometryimplementationsortings
- Red Blue Flowers1936CodeChef
- Red-Blue Sort1841CodeChef
- Reflection1600Codeforcesmath