BigStep interview question

Write a programm for valid parentheses