Tesla Interview Question

20. Valid Parentheses 994. Rotting Oranges