To implement the problem which checks whether parentheses, braces and brackets are in proper position or not, stack has been used.

1.7 To implement the problem which checks whether parentheses, braces and brackets are in
proper position or not, stack has been used. If ((H)*{([J+K])}) is the expression, what will be the content of stack from bottom when input pointer is at J.
A) ({([
B) (( ){([
C) {([( )
D) ( )({([

Leave a Reply