Ctrl K

Coding problems

Algorithm problems with tests in Python, JavaScript, Java, Go and C++, checked on our server.

Multiplying Digit StringsMath · String · SimulationMediumSpiral ReadoutArray · Matrix · SimulationMediumSpiral-Numbered SquareArray · Matrix · SimulationMediumSum of Binary StringsBit Manipulation · Math · StringEasyJustify the LinesArray · String · SimulationHardFold the Digits Down to OneMath · Number Theory · SimulationEasyNext Step of a Cell ColonyArray · Matrix · SimulationMediumCounting Off by Threes and FivesMath · String · SimulationEasyAdding Long Numbers in StringsMath · String · SimulationEasyHow Long the Light Stayed OnArray · SimulationEasyZigzag Diagonal SweepArray · Matrix · SimulationMediumMultiply Complex Numbers in StringsMath · String · SimulationMediumSeeded Playoff BracketRecursion · String · SimulationMediumRepack the TrayArray · Matrix · SimulationEasyTotal of a Fraction ChainMath · String · SimulationMediumSolve for xMath · String · SimulationMediumDrone Back on the PadString · SimulationEasyQuiz Score LogStack · Array · SimulationEasyMatch-Three CascadeArray · Two Pointers · MatrixMediumRobots Clashing on a RailStack · Array · SimulationMediumQuarantine for MouldDepth-First Search · Breadth-First Search · ArrayHardDroplets on the TerrainArray · SimulationMediumMirror and Negate a BitmapBit Manipulation · Array · Two PointersEasySame Text After ErasingStack · Two Pointers · StringEasySwap Rows and ColumnsArray · Matrix · SimulationEasyHow Far the Rover GotArray · Hash Table · SimulationMediumOutward Spiral WalkArray · Matrix · SimulationMediumReplaying Stack Pushes and PopsStack · Array · SimulationMediumA Deck That Reveals in OrderQueue · Array · SortingMediumEven Total After EditsArray · SimulationMediumPawns the Rook Can TakeArray · Matrix · SimulationEasyRotating Operator CountdownStack · Math · SimulationMediumRover on RepeatMath · String · SimulationMediumShuttle Seat PlanArray · Prefix Sum · SortingMediumGrowing Handouts Around the CircleMath · SimulationEasyQueens Eyeing the KingArray · Matrix · SimulationMediumRidge Worn Down by WeatherArray · SimulationEasyOdd Counters After the PressesArray · Math · SimulationEasyRolling GridArray · Matrix · SimulationEasyNoughts and Crosses VerdictArray · Hash Table · MatrixEasyWords Read Down the ColumnsArray · String · SimulationMediumInsert at Given PositionsArray · SimulationEasyCard Pull PositionsBinary Indexed Tree · Array · SimulationMediumA Stack From a Number StreamStack · Array · SimulationMediumAnts Off the BeamBrainteaser · Array · SimulationMediumRefills for EmptiesMath · SimulationEasyKing of the HillArray · SimulationMediumA Bit in the Mirror-Grown StringRecursion · String · SimulationMediumThe Busiest Sectors of the TrackArray · SimulationEasyLast Step With a Lit RunArray · Hash Table · Binary SearchMedium
1 of 4 · 163 problems