Given an expression string exp, write a program to examine whether the pairs and the orders of
"{","}","(",")","[","]"are correct in exp.
For example, the program should print true for
exp = "[()]{}{[()()]()}"and false for
exp = "[(])"
Discussion posts and replies are publicly visible
Do you have any specific question?