Coding problems
Algorithm problems with tests in Python, JavaScript, Java, Go and C++, checked on our server.
Shortest Stretch to the GoalMediumProduct of All the OthersMediumStudios for Recording SessionsMediumLongest Run with a Given SumMediumRichest Plot Under the CapHardBatch of Segment AdjustmentsMediumThe Heaviest Reading DayHardA Stretch Divisible by kMediumAs Many Heads as TailsMediumFour Equal PiecesHardStretches With an Exact TotalMediumBest Average of a Long StretchHardWindows With a Small ProductMediumBalance Point IndexEasyThe Shift That Scores the MostHardSplit for the Best AveragesMediumRoll Letters by PrefixMediumShortest Stretch Reaching a TotalHardUp and Down OrderingsHardWindows With an Exact Alarm CountMediumWindows With a Divisible SumMediumLight Every Lamp With a WindowHardMerge Neighbouring Piles in GroupsHardLongest Run of Ones With k FixesMediumRectangles With a Given SumHardShuttle Seat PlanMediumSeats per TripMediumHard Shifts Take the LeadMediumThe Growing Grab LimitMediumPalindrome After a Few FixesMediumMatching Stretch Within BudgetMediumStretches With k Odd NumbersMediumLargest Light SquareMediumRange XOR LookupsMediumNeighbourhood Sums in a GridMediumEven Vowel StretchMediumThe Battery Must Not Run DryEasyArrays With K Record HighsHardZeros Left, Ones RightEasyTake Only From the EndsMediumSplit Into Equal-XOR HalvesMediumCutting a Berry CakeHardBalance After Each DayEasySegments With an Odd SumMediumDisjoint Segments With a Target SumMediumTotals of Odd-Length SlicesEasyArrange for the Busiest RangesMediumTrim to a Divisible SumMediumTrim the Ends to a TargetMediumRemovals That Balance Parity SumsMedium
1 of 4 · 189 problems