KatInterview

practice a little every day — you've got this ♡

Strings Interview Problems

Practice 5969 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.

5969
Problems
2211
Auto-graded
15
Topics
273
Added today

Showing 181–187 of 187 results

  • StringsMediumAuto-graded
    Decode a Run-Length Encoded String With Nested Groups

    Tests the ability to parse and expand a run-length encoded string that contains arbitrarily nested bracket groups, combining stack-based parsing with string manipulation.

    Stringsstringsparsingstackrun-length encoding
  • StringsEasyAuto-graded
    Parse and Evaluate Simple Arithmetic Tokens

    Tests the ability to tokenize a raw arithmetic string into numbers and operators, then evaluate left-to-right respecting only + and - operations.

    Stringsstringstokenizingparsing
  • StringsMediumAuto-graded
    Peak Occurrence Count of a Bounded Substring

    Tests whether a candidate can reduce a multi-length sliding-window problem to a single window size and efficiently track distinct-character counts.

    Stringssliding-windowhash-mapstrings
  • StringsEasyAuto-graded
    Shortest Palindromic Superstring by Suffix–Prefix Overlap

    Tests understanding of palindromic structure by finding the minimum characters to append to a string to make the whole string a palindrome.

    Stringsstringspalindrometwo pointers
  • StringsMediumAuto-graded
    Shortest Substring Containing All Required Characters

    Tests the sliding window pattern with frequency counting to find the shortest substring of one string that covers every character (with multiplicity) of another.

    Stringssliding-windowhash-maptwo-pointers
  • StringsMediumAuto-graded
    Group Cipher Variants by Scrambled Key

    Tests anagram-grouping on structured strings with a prefix/suffix schema, requiring careful key extraction, normalization, and tie-breaking for sorted output.

    Stringsstringsanagram groupingsortingparsing
  • StringsMediumAuto-graded
    Group Scrambled Words by Shared Anagram Fingerprint

    Tests the ability to canonicalize strings into sorted-character keys and cluster words that are anagrams of each other, with a precise tie-breaking rule for deterministic output.

    Stringsstringsanagramshash mapsorting