practice a little every day — you've got this ♡
Strings Interview Problems
Practice 5972 original coding, SQL, system design, machine learning and behavioral problems across 15 topics. Coding and SQL problems run against hidden test cases right in your browser; every problem has hints and a worked solution, free.
- 5972
- Problems
- 2212
- Auto-graded
- 15
- Topics
- 273
- Added today
Showing 121–150 of 228 results
- StringsMediumAuto-gradedCount Character Mismatches Across All Palindrome Mirrors
Tests the ability to reframe a quadratic substring enumeration into a pair-centric counting problem with geometric weight calculations.
Stringscombinatoricsstring-algorithmsoptimization - StringsEasyAuto-gradedConvert Integer to English Words
Tests ability to decompose integers into groups and translate numeric values into properly formatted English text with correct scaling terms.
Stringsrecursionmathstring-formatting - StringsMediumAuto-gradedWords Buildable from Two Different Entries in a Set
Use a hash set to test every split point of each word, reporting words formable as two distinct list entries, sorted.
Stringshash-setstringssortingenumeration - StringsMediumAuto-gradedFind All Pattern Positions in Text
Tests implementation of efficient string matching and understanding of linear-time pattern search algorithms.
Stringsstring-matchingkmppattern-search - StringsMediumAuto-gradedMinimum Window Containing All Required Characters
Tests sliding window technique with character frequency tracking to find the smallest substring that satisfies multiplicity constraints.
Stringssliding-windowtwo-pointershash-map - StringsMediumModel answerConfig-Driven CSV Validator with Name Overlap Check
Write a configurable validator that flags missing fields, length violations, banned words, and low name-word overlap across CSV vendor rows.
Stringscsv-parsingvalidationregextext-normalization - StringsMediumAuto-gradedParse and Validate Business Registration CSV Records
Tests multi-rule sequential validation over CSV rows: field presence, tax ID format normalization, and fuzzy owner name matching via token overlap.
Stringsstringsparsingvalidation - StringsMediumAuto-gradedCount Balanced Two-Block Substrings in a Binary String
Tests whether a candidate can group consecutive identical characters into runs and use adjacent run lengths to efficiently count valid balanced substrings.
Stringsstringstwo-pointersrun-length-encoding - StringsMediumModel answerBuild a POSIX Shell Script with Validation and Structured Output
Write a strict POSIX sh script that validates arguments, reads a file, extracts a license string, and prints a formatted timestamped line.
StringsshellPOSIXCLIerror-handling - StringsMediumAuto-gradedLetter Tile Scorer for a Word-Guessing Game
Tests whether you can implement a precise per-letter color-scoring rule — including count-limited yellow matching — across a list of guesses against a fixed target word.
Stringsstringsarrayshashing - StringsMediumAuto-gradedReversible String List Serializer
Tests whether a candidate can design a lossless encode/decode round-trip for arbitrary strings without relying on a fixed delimiter character.
Stringsstringsserializationencoding - StringsMediumModel answerFind Optimal Single Digit Exchange to Maximize Value
Swap at most two digits in a non-negative integer to achieve the largest possible result.
Stringsgreedystring-manipulationoptimization - StringsHardAuto-gradedEncode Consecutive Character Runs as Digit Sequences
Tests run-length encoding with multi-digit counts split into individual characters, requiring careful pointer management and constant-space thinking.
Stringstwo-pointersrun-length-encodingin-place - StringsMediumAuto-gradedMultiply Large Numbers as Strings
Tests implementation of grade-school multiplication on arbitrarily large integers represented as strings without using built-in big integer operations.
Stringsmathsimulationarray-manipulation - StringsMediumAuto-gradedFirst Window Matching a Letter-Frequency Snapshot
Tests fixed-size sliding window technique with O(1) per-step character-count bookkeeping to locate the leftmost permutation of a pattern inside a longer string.
Stringssliding-windowhash-maptwo-pointers - StringsMediumModel answerAggregate HTTP Logs to Identify Top Client Addresses
Parse multi-file request logs to extract and rank the five IPv4 addresses that generated the most completed HTTP requests.
Stringsparsingregexaggregationtop-k - StringsEasyAuto-gradedCluster Words by Letter Inventory
Tests whether you can use a canonical character-frequency key and a hash map to partition a list of strings into anagram groups in linear time.
Stringshash-mapstringsanagrams - StringsMediumModel answerCSV Transaction Parser with Validation and Error Handling
Design a pipeline that parses CSV transaction records, normalizes fields, validates data integrity, and segregates malformed entries.
Stringsdata-validationparsingerror-handling - StringsEasyAuto-gradedCount Single-Character Occurrences in a String
Tests whether a candidate can scan a string and tally exact, case-sensitive matches for a given character, including edge cases like empty input and repeated characters.
Stringsstringscountingcase-sensitivity - StringsMediumAuto-gradedReconstruct Digit Sequence from a Jumbled Letter Pool
Tests whether a candidate can decode digit counts from a scrambled multiset of English number-word letters using systematic letter-frequency elimination.
Stringsstringshash-mapgreedy-intervals - StringsMediumAuto-gradedBuild All Balanced Bracket Sequences
Tests recursion with constraint-based pruning to construct valid nested bracket strings without generating invalid candidates.
Stringsrecursionbacktrackingcombinatorics - StringsMediumModel answerRule Engine with Operator Precedence and Quoted Strings
Build a transaction filter that evaluates accept/block rules in sequence, supporting field equality, boolean logic, AND/OR operators, and parentheses.
Stringsparsingstring-matchingoperator-precedencetokenization - StringsMediumModel answerBuild a CSV Parser from Scratch with Corruption Handling
Write a from-scratch CSV tokenizer and data structure for downstream consumers, then extend it to handle rows with missing or extra fields.
Stringsparsingcsvstring-manipulationerror-handling - StringsMediumAuto-gradedLongest Shared Leading-Digit Sequence Between Two Integer Lists
Tests whether a candidate can avoid brute-force pair comparison by exploiting bounded digit counts to match prefixes efficiently with a hash set.
Stringsstringsarrayshashing - StringsMediumModel answerRule-Driven CSV Validator with Cross-Field Word Overlap
Design and implement a configurable validator that flags per-field rule violations and excessive word overlap across fields in a company CSV.
Stringscsv-parsingvalidationstring-normalizationrule-engine - StringsMediumAuto-gradedSum Two Large Numbers Represented as Digit Strings
Tests manual digit-by-digit addition with carry propagation on arbitrarily large integers stored as strings.
Stringsstring-manipulationmathsimulation - StringsMediumAuto-gradedCheck Character Mapping Consistency
Tests whether two strings establish a valid one-to-one character correspondence at each position.
Stringshash-maptwo-pointersbijection - StringsMediumAuto-gradedMinimum Edits to Form Palindromic Segments
Tests two-pointer logic and palindrome verification to compute the fewest replacements that transform every fixed-size segment into a palindrome.
Stringstwo-pointerspalindromegreedy - StringsMediumAuto-gradedVerify Anagram Coverage for All Contiguous Substrings
Tests whether every contiguous substring of length 3 or more in a given string can be rearranged to match some dictionary word.
Stringsanagramsprefix-sumhashing - StringsEasyAuto-gradedArrange Garment Sizes in Standard Order
Tests understanding of counting sort for a fixed alphabet, achieving linear time complexity instead of comparison-based sorting.
Stringscounting-sortstring-manipulationlinear-time