Glean logoGlean
CodingMembers

Minimum Deletions to Balance Parentheses

Members only

A short string-manipulation question from phone and onsite coding rounds. It looks simple, but interviewers listen for a clear invariant and an argument for why the greedy choices are forced.

SWE
medium
string
stack
greedy
Frequency
Single report
Last asked
—
Stage
phone-screen · onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...