You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are given a string of brackets i.e. '{', '}' , '(' , ')', '[' , ']' . You have to check whether the sequence of parenthesis is balanced or not.
For example, "(())", "(())()" are balanced and "())(", "(()))" are not.
Input Format
A string of '(' , ')' , '{' , '}' and '[' , ']' .
Constraints
1<=|S|<=10^5
Output Format
Print "Yes" if the brackets are balanced and "No" if not balanced.
Sample Input
Activity
akshitagupta15june commentedon Sep 25, 2020
ADD IN THE SUITABLE CODE REPO
Aayushi-Mittal commentedon Sep 26, 2020
@akshitagupta15june Can I work on this issue please?
akshitagupta15june commentedon Sep 26, 2020
ofcourse, assigning it to u
niharikamahajan02 commentedon Oct 22, 2021
is this issue still open?