Meta·Software Engineer·Onsite - Coding / Algorithms
Jun 2026
Meta SWE coding round focused on a substring-in-list problem, with the expectation that you'd walk through brute force first and then pitch progressively better solutions yourself. The AI assistant was available to implement, but the ideas and complexity analysis had to come from you. Felt more like a design conversation than a pure coding screen.
- Given a list of strings, find a string in the list that contains at least one other string from the list as a substring. Then optimize your solution across two or three successive approaches, explaining time and space complexity for each.
“The AI could write the code but the interviewer wanted the optimization ideas to come from me, which I wasn't fully prepared for.” The rest of the author's notes on Software Engineer interview at Meta, Onsite - Coding / Algorithms round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post