Comment "PATTERN" and I'll send you the guide 🤝
Comment "PATTERN" and I'll send you the guide 🤝
LeetCode 20 - Valid Parentheses with a Stack: openers wait on the stack, and every closer has to match the one on top. Plus why deleting the pairs side by side takes n squared steps, and where the O(n) time and space come from.
#coding #code #leetcode #dsa #python
Comments
Comments from the original post on Instagram
No comments yet
