The example set does not fully illustrate the expectations for the code

  • 0

    The current example set does not contain any combinations
    "()" and "()[]{}" are all valid but "(]" and "([)]" are not.

    The following should be added as a valid string

    Creating an updated example set:
    The brackets must close in the correct order, "()", "()[]{}", and "({[]})" are all valid, but "(]" and "([)]" are not.

Log in to reply

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