Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IS PARENTHESIS BALANCED? #37

Open
akshitagupta15june opened this issue Sep 25, 2020 · 4 comments
Open

IS PARENTHESIS BALANCED? #37

akshitagupta15june opened this issue Sep 25, 2020 · 4 comments

Comments

@akshitagupta15june
Copy link
Member

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

(())

Sample Output

Yes

@akshitagupta15june
Copy link
Member Author

ADD IN THE SUITABLE CODE REPO

@Aayushi-Mittal
Copy link

@akshitagupta15june Can I work on this issue please?

@akshitagupta15june
Copy link
Member Author

ofcourse, assigning it to u

@niharikamahajan02
Copy link

is this issue still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants