in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c
Day 1 of code
1614. Maximum Nesting Depth of the Parentheses
Steps i did
1) whenever a '(' parentheses we get, we append it to the stack.
2) whenever we get ')' parentheses, we pop the element of stack
3) while doing this we set the max to length of stack
#leetcode #Python
0 - 0
🧑💻 Programming
🙃 Related memes