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

DSA-Stack-Python- Valid Parenthesis #114

Closed
jen-sjen opened this issue Oct 1, 2021 · 3 comments
Closed

DSA-Stack-Python- Valid Parenthesis #114

jen-sjen opened this issue Oct 1, 2021 · 3 comments
Assignees

Comments

@jen-sjen
Copy link
Contributor

jen-sjen commented Oct 1, 2021

Hey there, I'm participating in #hactoberfest2k21, Please assign me the issue. Good day!
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
An input string is valid if:
Open brackets must be closed by the same type of brackets.
Open brackets must be closed in the correct order.
Example:
Input: s = "()[]{}"
Output: true

@ramnagane99
Copy link

you have to check small mistakes

@jen-sjen
Copy link
Contributor Author

jen-sjen commented Oct 1, 2021

As in?

@jen-sjen
Copy link
Contributor Author

jen-sjen commented Oct 1, 2021

@ishangoyal13
Please merge my previous PR: #115 , issue: #56
So that I can go ahead with this PR :)

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

No branches or pull requests

3 participants