Channel Avatar

SJ Coding @UCty6KvyTH_gSLsbGcyA19dQ@youtube.com

17 subscribers - no pronouns :c

🧑‍💻 Programming 🙃 Related memes


Welcoem to posts!!

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

SJ Coding
Posted 11 months ago

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