-
-
Notifications
You must be signed in to change notification settings - Fork 45.6k
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
Remove_Invalid_Parenthesis.py #12340
base: master
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[FIX] | This issue for getting things validated backtracking/Remove_Invalid_Parenthesis.py:18:5: N802 Function name removeInvalidParenthesis
should be lowercase
if len(str) == 0: | ||
return | ||
|
||
visit = set() | ||
|
||
q = [] | ||
temp = 0 | ||
level = 0 | ||
|
||
q.append(str) | ||
visit.add(str) | ||
while len(q): | ||
str = q[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try running pre --commit [ More on Contribution.md ]
Describe your change:
Checklist: