20. Valid Parentheses
Description
See https://leetcode.com/problems/valid-parentheses/
Solution
I had seen this problem before in "A Common-Sense Guide to Data Structures and Algorithms, Second Edition".
I used a deque for the Stack implementation.
Last updated