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? #46

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

IS PARENTHESIS BALANCED? #46

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

@Nowele
Copy link
Contributor

Nowele commented Sep 26, 2020

I would like to work on this issue

@akshitagupta15june
Copy link
Member Author

ok i am assigning to u

PROCESS OF CONTRIBUTION IN THIS REPOSITORY

FORK THIS REPOSITORY
ADD YOUR CODE IN RESPECTIVE FOLDER
CREATE A PULL REQUEST
AFTER A SIMPLE CHECK I WILL MERGE THE PR

HAPPY CODING AND CONTRIBUTING!!!!

Nowele added a commit to Nowele/JAVA that referenced this issue Sep 26, 2020
Nowele added a commit to Nowele/JAVA that referenced this issue Sep 26, 2020
Nowele added a commit to Nowele/JAVA that referenced this issue Sep 26, 2020
Nowele added a commit to Nowele/JAVA that referenced this issue Sep 26, 2020
Nowele added a commit to Nowele/JAVA that referenced this issue Sep 26, 2020
@Nowele
Copy link
Contributor

Nowele commented Sep 27, 2020

ok i am assigning to u

PROCESS OF CONTRIBUTION IN THIS REPOSITORY

FORK THIS REPOSITORY
ADD YOUR CODE IN RESPECTIVE FOLDER
CREATE A PULL REQUEST
AFTER A SIMPLE CHECK I WILL MERGE THE PR

HAPPY CODING AND CONTRIBUTING!!!!

Thank you! I would like to open a PR on October 1 so it counts for HacktoberFest

@SiddharthShukla547
Copy link

Hey, could you assign me this? I would like to work on this

@Nowele Nowele mentioned this issue Oct 7, 2020
Merged
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