Microsoft·Software Engineer·Technical Phone Screen
Jun 2026
Microsoft coding screen, one question, pretty focused on parsing and state machine logic. Not a vibe check at all, they wanted to see if you could think through edge cases in a single pass without reaching for regex.
- Given a large log string where records are separated by semicolons, parse it into a deduplicated list of email addresses. Records may include display names and parenthesized comments anywhere. You must implement a single-pass state machine that tracks whether you're inside parentheses or quotes before treating a semicolon as a record boundary, then extract the email token by finding the '@' symbol.
“I spent the first few minutes trying to think of a regex approach and the interviewer kind of just waited.” The rest of the author's notes on Software Engineer interview at Microsoft, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post