Valid Parentheses

#20
Easy
Stack
O(n)
O(n)
Amazon
Microsoft
Facebook
Google
Bloomberg
View on LeetCode

Problem Description

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.