Swiggy Interview Question

Java program to check balanced paranthesis