EY Interview Question

Check if the input set of paranthesis are balanced or not: Input: {[]}() Output: True Input: {[}] Output: False