CodeSearch
pick a problem · learn it with an AI tutor — hints, not spoilers
37,000 problems · all sources
- Matrix Transformation2300Codeforcesbitmasksbrute forcedata structuresdfs and similar
- Max History2300Codeforcescombinatoricsmath
- Max Median2100Codeforcesbinary searchdata structuresdp
- Max Min and Length2418CodeChef
- Max Plus Min Plus Size2200Codeforcesdata structuresdpdsugreedy
- Max Shift After XOR2444CodeChef
- Max to the Right of Min2300Codeforcesbinary searchdata structuresdivide and conquerdp
- Maximal Area Quadrilateral2100Codeforcesbrute forcegeometry
- Maximal Difference2100Codeforces*special
- Maximize It2576CodeChef
- Maximize The Value2100Codeforcesdata structuressortings
- Maximize the Largest Component (Hard Version)2200Codeforcesdata structuresdfs and similardpdsu
- Maximum Color Segment2300Codeforcesdpimplementation
- Maximum Control (medium)2200Codeforcesdata structuresdfs and similargraphsgreedy
- Maximum Grid2549CodeChef
- Maximum OR Popcount2300Codeforcesbinary searchbitmasksbrute forcedata structures
- Maximum Palindrome2581CodeChef
- Maximum Possible Sweetness2497CodeChef
- Maximum Questions2100Codeforcesdata structuresdpstrings
- Maximum Size Hollow Square2465CodeChef
- Maximum Sum Subarrays2100Codeforces*specialdp
- Maximum Value2100Codeforcesbinary searchmathsortingstwo pointers
- Maximum Weight Subset2200Codeforcesdptrees
- Maximum Xor Sum2497CodeChef
- Maximum of GCDs2513CodeChef
- Maximum path2300Codeforcesdpgreedyimplementation
- Maze 1D2200Codeforcesbinary searchgreedyimplementation
- Maze 2D2200Codeforcesdata structuresdivide and conquer
- Mean Difference (Hard)2569CodeChef
- Mean equals Median2487CodeChef
- Med-imize2200Codeforcesbinary searchdpgreedy
- Melody2300Codeforcesdfs and similargraphsimplementation
- Memory and Scores2200Codeforcescombinatoricsdpmath
- Mental Monumental (Hard Version)2300Codeforcesdata structuresgreedymathtwo pointers
- Mercury Poisoning2432CodeChef
- Merging Towers2300Codeforcesdata structuresdsuimplementationtrees
- Messenger2100Codeforcesdata structureshashingimplementationstring suffix structures
- Mex Subsequence2494CodeChef
- Mex-P Tree (Hard)2424CodeChef
- Meximal Sum2444CodeChef
- Mice2100Codeforcesgreedytwo pointers
- Mice problem2300Codeforcesgeometryimplementationmathsortings
- Microwavable Subsequence2100Codeforcesdata structures
- Middle-Out2200Codeforcesconstructive algorithmsgreedystrings
- Mike and Foam2300Codeforcesbitmaskscombinatoricsdpmath
- Mike and Frog2200Codeforcesbrute forcegreedyimplementationmath
- Milky Days2200Codeforcesbrute forcedata structuresgreedyimplementation
- Mimo & Yuyu2200Codeforcesgamesgreedymath
- Min Ops (Easy)2581CodeChef
- Min-Fund Prison (Medium)2200Codeforcesbrute forcedfs and similardpgraphs
- Min-Max Product Partition2429CodeChef
- Minibuses on Venus (easy version)2200Codeforcescombinatoricsdivide and conquerdp
- Minimal Coverage2200Codeforcesdp
- Minimal Labels2300Codeforcesdata structuresdfs and similargraphsgreedy
- Minimal Segment Cover2200Codeforcesdata structuresdfs and similardivide and conquerdp
- Minimax2100Codeforcesconstructive algorithmsgreedystrings
- Minimize the Bits2594CodeChef
- Minimum Influence2100Codeforcesbinary searchdata structuresgreedyimplementation
- Minimum Insertions2566CodeChef
- Minimum Longest Substring2412CodeChef