practice a little every day — you've got this ♡
Strings Interview Problems
Practice 5967 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.
- 5967
- Problems
- 2210
- Auto-graded
- 15
- Topics
- 272
- Added today
Showing 31–41 of 41 results
- StringsMediumModel answerExtract and Safely Parse an XML Document Nested in CDATA
Implement a function that pulls a nested XML document out of a CDATA section and reads an attribute from its root, while blocking XXE and entity-expansion attacks.
Stringsxmlsecurityparsing - StringsEasyModel answerLog Ingestion Engine with Prefix-Operator Query Filtering
Build a two-phase pipeline that parses raw server log lines into structured records and filters them using a mini query language of typed prefix tokens.
Stringsparsingregexfilteringdesign - StringsMediumModel answerBuild a Holiday Gift Matcher from CSV Input
Parse participant data from a CSV string with quoted fields, validate entries, and create a round-robin assignment where no one gives a gift to themselves.
Stringsparsingvalidationalgorithmscsv - StringsMediumModel answerJava String Interning, Identity, and Concatenation Costs
Trace identity vs equality across literals, `new String`, `intern`, and constant folding, then compare loop `+`, `StringBuilder`, and `StringBuffer`.
Stringsjavastring-poolimmutabilitystringbuilder - StringsMediumModel answerPython Lists vs Tuples: Mutability, Memory, and Use Cases
Compare Python lists and tuples across mutability, memory layout, hashability, and idiomatic use, including tricky edge cases.
Stringspythondata-structuresmutabilityhashability - StringsMediumModel answerFive Python Fundamentals: Iteration, Collections, and Edge Cases
Write five short functions covering string repetition, list transformation, FizzBuzz, word counting, and finding the second-largest unique integer.
Stringspythonfundamentalsedge-cases - StringsMediumModel answerCompile a Mini Language to Three-Address Code
Parse a small line-based language of assignments and flat if-else blocks, then emit a deterministic three-address IR with temporaries and jump labels.
Stringsparsingcompilerintermediate-representation - StringsMediumModel answerPlain-Text to HTML: Paragraphs, Blockquotes, and Strikethrough
Write a function that converts a plain-text string to HTML with paragraphs, soft line breaks, blockquotes, and strikethrough, handling all edge cases correctly.
Stringsparsingstring-processingtwo-pass - StringsEasyModel answerHTTP Field Extraction with IP Address Frequency Analysis
Retrieve text fields from multiple endpoints, parse and validate IPv4 addresses, then rank them by occurrence frequency.
Stringsstring-parsinghttpvalidationfrequency-counting - StringsMediumModel answerGenerator-Based Parser for Structured Log Streams
Build a memory-efficient Python generator that parses log records with timestamps and key-value pairs, handling quoted strings with escapes.
Stringsparsinggeneratorsstring-processingtext-processing - StringsMediumModel answerRemove Paths by Prefix Hierarchy
Remove all paths that match or fall under any deletion target in a hierarchical filesystem-like structure.
Stringstrieprefix-matchingstring-processing