MathWorks logoMathWorks
CodingMembers

Longest Valid Parentheses (LC 32)

Members only

Coding problem from the second phone screen in MathWorks' experienced-hire SWE loop, sandwiched between a self-introduction and Q&A. A short-to-state string problem where the hard part is getting every boundary right in one pass, under live phone-screen time pressure.

SWE
string
stack
dp
hard
Frequency
Single report
Last asked
2026-07-25
Stage
phone-screen

Members get

  • Full problem statement
  • Step-by-step approach
  • 3 common pitfalls
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...