← Flipkart questions

Minimum bracket deletions for valid sequence

Filed under Flipkart

Given a string of '{' and '}' characters, find the minimum number of deletions required to make it a correct bracket sequence, and generate all unique valid resulting strings.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.