## Question 1 Are the parentheses in the following string valid or not? "`(){}[]`" ### Options 1. Not valid Incorrect ---------------------------- 2. Valid Correct Parentheses are valid, since, for every opening bracket, there is a closing bracket in the correct order. ---------------------------- --------------------------------------------- ## Question 2 Are the parentheses in the following string valid or not? "`{}[]{}[{}])`" ### Options 1. Not valid Correct All the parentheses are matched, except the last, which is a closing parenthesis without a matching opening parenthesis. ---------------------------- 2. Valid Incorrect ---------------------------- ---------------------------------------------