LeetCode Valid Parentheses

use HashMap and stack to solve the problem