Small challenges.
Stronger problem solving.

100 original Python and JavaScript problems, from first principles to interview patterns.

Try a free problem
Clear

60 problems

01Palindrome checkPython · Two pointers, one clear invariantEasyFree02Reverse a messagePython · Indexing and slicingEasyFree03Count a symbolPython · Python’s string modelEasyFree04First unique characterPython · Frequency mapsEasyFree05Compact spacesPython · Methods and normalizationEasyFree06Remove a symbolPython · Complexity and efficient constructionEasyPractice pack07Shared prefixPython · Indexing and slicingEasyPractice pack08ASCII digit totalPython · Parsing and validationEasyPractice pack09Count English vowelsPython · Methods and normalizationEasyPractice pack10Squeeze repeated runsPython · Complexity and efficient constructionEasyPractice pack11Rotate leftPython · Indexing and slicingEasyPractice pack12Is it a subsequence?Python · Two pointers, one clear invariantEasyPractice pack13Word initialsPython · Methods and normalizationEasyPractice pack14Balanced parenthesesPython · Parsing and validationEasyPractice pack15Equal-length difference countPython · Python’s string modelEasyPractice pack16Longest repeated runPython · Complexity and efficient constructionEasyPractice pack17Group anagramsPython · Anagrams and groupingMediumPractice pack18Longest unique windowPython · Sliding windowsMediumPractice pack19Anagram start indicesPython · Sliding windowsMediumPractice pack20Encode character runsPython · Complexity and efficient constructionMediumPractice pack21Compare typed messagesPython · Two pointers, one clear invariantMediumPractice pack22Validate mixed bracketsPython · Parsing and validationMediumPractice pack23Reverse word orderPython · Methods and normalizationMediumPractice pack24Decode letter runsPython · Parsing and validationMediumPractice pack25Partition independent lettersPython · Frequency mapsMediumPractice pack26One deletion palindromePython · Two pointers, one clear invariantMediumPractice pack27Consistent character mappingPython · Frequency mapsMediumPractice pack28Word pattern mappingPython · Anagrams and groupingMediumPractice pack29Longest palindromic substringPython · Two pointers, one clear invariantMediumPractice pack30Find overlapping matchesPython · Substring searchMediumPractice pack31Anagram deletion distancePython · Anagrams and groupingMediumPractice pack32Window with at most k charactersPython · Sliding windowsMediumPractice pack33Cancel adjacent pairsPython · Choosing a solution patternMediumPractice pack34Compare numeric versionsPython · Parsing and validationMediumPractice pack35Minimum covering windowPython · Sliding windowsHardPractice pack36Edit distancePython · Interview walkthroughHardPractice pack37Wildcard matchingPython · Interview walkthroughHardPractice pack38Count word segmentationsPython · Choosing a solution patternHardPractice pack39Linear substring searchPython · Substring searchHardPractice pack40Minimum palindrome cutsPython · Interview walkthroughHardPractice pack41Canonical label keyPython · Unicode and comparison policiesEasyPractice pack42ASCII separator slugPython · Unicode and comparison policiesEasyPractice pack43Word size profilePython · Streaming across chunk boundariesEasyPractice pack44Trim one exact suffixPython · Regular expressions with a contractEasyPractice pack45Keep the first caseless labelPython · Unicode and comparison policiesMediumPractice pack46Split an ASCII camel namePython · Regular expressions with a contractMediumPractice pack47Read a quoted recordPython · Quoting, escaping, and nested inputMediumPractice pack48Split escaped pipe fieldsPython · Quoting, escaping, and nested inputMediumPractice pack49Ordered prefix suggestionsPython · Tries and prefix queriesMediumPractice pack50Shortest distinguishing prefixesPython · Tries and prefix queriesMediumPractice pack51Count words across chunksPython · Streaming across chunk boundariesMediumPractice pack52Count streamed pattern matchesPython · Streaming across chunk boundariesMediumPractice pack53Validate a decimal tokenPython · Regular expressions with a contractMediumPractice pack54Repeated fixed-width fragmentsPython · Streaming across chunk boundariesMediumPractice pack55Check an interleaved weavePython · Dynamic programming for string choicesHardPractice pack56Count target subsequencesPython · Dynamic programming for string choicesHardPractice pack57Shortest common supersequence sizePython · Dynamic programming for string choicesHardPractice pack58Smallest ordered covering substringPython · Dynamic programming for string choicesHardPractice pack59Decode nested repeatsPython · Quoting, escaping, and nested inputHardPractice pack60Longest insertion word chainPython · Dynamic programming for string choicesHardPractice pack

Progress is for your own learning. Browser test results are not a verified assessment.