← Questions

Minimum remove to make valid parentheses

0
MetaCodingLast asked Feb 2026

A coding interview question asked in Meta's technical phone screen, last asked Feb 2026. It tests strings and stacks.

A string holds letters and brackets. Remove the fewest brackets so that what is left is balanced, keep every letter in its original order, and return the result.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Meta · Technical phone screen · Last asked Feb 202645 min · Two coding problems in CoderPad, about 20 minutes each · Usually no AI; some newer screens are AI-assisted

What it tests

strings · stacks

Your code and the AI tutor open when you unlock this question.