-
-
Notifications
You must be signed in to change notification settings - Fork 409
feat: add parseNestedBrackets
#79
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
feat: add parseNestedBrackets
#79
Conversation
yudukikun5120
commented
Nov 20, 2022
•
edited
Loading
edited
- Algorithm: Nested Brackets Parsing
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.
I'd call this something like extractTopLevelParenthesized
@appgurueu "top level" seems to exclude the lower level tags: |
Agreed, poor suggestion from me. |
@appgurueu I made suggested modifications and replies. |
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.
Time complexity is quadratic due to the string slicing but optimality is not a requirement. Consider annotating the time complexity.