Ctrl K

Coding problems

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

Primes Below a BoundArray · Math · EnumerationMediumPalindrome From Two FactorsMath · EnumerationHardNext Time From the Same DigitsHash Table · String · BacktrackingMediumNearest Short Hex ColorMath · String · EnumerationEasyRestore the Lost PointString · Backtracking · EnumerationMediumSums of Consecutive NumbersMath · EnumerationHardLongest Ridge on the RouteArray · Two Pointers · Dynamic ProgrammingMediumShuffle the Digits Into a Power of TwoHash Table · Math · CountingMediumMirror Squares in a RangeMath · String · EnumerationHardLatest Clock From DigitsArray · String · EnumerationMediumSums of Two PowersHash Table · Math · EnumerationMediumStaircase NumbersEnumerationMediumConsistent Reading TriplesArray · EnumerationEasyRepeated Block RunArray · EnumerationEasyMoves Between OfficesBit Manipulation · Array · BacktrackingHardCamp Groups by SpanBit Manipulation · Tree · Dynamic ProgrammingHardStrongest Signal SpotArray · EnumerationMediumSmallest Lock CodeDepth-First Search · Breadth-First Search · StringMediumSubstring Pairs With One TypoHash Table · String · Dynamic ProgrammingMediumXOR of Every SubsetBit Manipulation · Array · MathEasyWhole-Number Right TrianglesMath · EnumerationEasyA Trio of DivisorsMath · Enumeration · Number TheoryEasyWhere Moss Species MeetGeometry · Array · MathHardFlanking Move on the BoardArray · Enumeration · MatrixMediumThree Addends and a Later TotalArray · Hash Table · EnumerationEasyA Multiple Spelled With Two DigitsMath · EnumerationMediumPattern Woven Several TimesGreedy · String · BacktrackingHardA Word in a Crossword SlotArray · Enumeration · MatrixMediumBalanced Cuts After One ReplacementArray · Hash Table · CountingHardPicks With the Full ORBit Manipulation · Array · BacktrackingMediumPalindromes in Two BasesMath · EnumerationHardEven Numbers From Digit CardsArray · Hash Table · EnumerationEasyOriginal Array From Two ShiftsArray · Hash Table · Two PointersHardHow Many Witnesses Can Be HonestBit Manipulation · Array · BacktrackingHardMicrowave Keypad EffortMath · EnumerationMediumLevel the JarsGreedy · Array · EnumerationMediumOutshoot the RivalBit Manipulation · Array · BacktrackingMediumBrackets for the Smallest ValueString · EnumerationMediumFlowerbed Beauty on a BudgetGreedy · Array · Two PointersHardNotebooks and MarkersMath · EnumerationMediumBest Four-Town RouteGraph · Array · EnumerationHardGrid Points Under CirclesGeometry · Array · Hash TableMediumStrike Out a Digit for the MaximumGreedy · String · EnumerationEasyDistinct Segments With Few MultiplesTrie · Array · Hash TableMediumSwapped Initials NamesBit Manipulation · Array · Hash TableHardHighest Letter in Both CasesHash Table · String · EnumerationEasyTerms Sharing a Last DigitGreedy · Math · Dynamic ProgrammingMediumEvenly Spaced TriplesArray · Hash Table · Two PointersEasyColumns That Cover RowsBit Manipulation · Array · BacktrackingMediumBalanced Parity NumberMath · EnumerationMedium
1 of 3 · 111 problems