Delete minimum number of brackets to make the string valid


  • 0
    A

    Given a string of brackets including (,{ and [. Delete minimum number of brackets to make the string balanced.
    Example: In the string {([)]} the answer is 2 i.e either delete [ and ] or ( and ).


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.