Amazon Interview Question

1 - reverse a string array 2- check if parenthesis are closed or not in a string.