Coding problems
Algorithm problems with tests in Python, JavaScript, Java, Go and C++, checked on our server.
Median Across Two ArraysHardMerge Many Sorted ChainsHardMost Profitable StreakMediumTree From Pre-Order and In-Order WalksMediumTree From In-Order and Post-Order WalksMediumBalanced Tree from a Sorted ListEasyTree From a Sorted ChainMediumSorting a Linked ListMediumThe Candidate With Most VotesEasyFlip the Bit OrderEasyCount the Set BitsEasyK-th Highest ScoreMediumCity Block OutlineHardFind in a Grid Sorted Both WaysMediumSmaller Values to the RightHardStrictly Low, High, LowMediumWindow Sums Within a BandHardMost Common ValuesMediumEvery Letter at Least k TimesMediumPairs With a Steep DropHardPeak-Split TreeMediumTree From Pre-Order and Post-Order WalksMediumHand-Rolled SortMediumBest Run on a RingMediumNo Average in BetweenMediumNearest Points to the BaseMediumRebalance a Search TreeMediumOther Orders for the Same Search TreeHardCost of Filling a Sorted ShelfHardK-th Largest Corner XORMediumBoth Cases StretchEasyArray From Its Subset SumsHardK-th Biggest Long NumberMediumOnes Outnumber ZerosMediumTriples Both Rankings Agree OnHardK-th Code by Its Last DigitsMediumRising Chain With Small StepsHardPairs Within a Shifted GapHardTowers Above Both NeighbourhoodsHardNearest Pair of SensorsHardNodes That Outrank Their SubtreeHardRank of an ArrangementMediumSpaced Picks After EditsHard