Topic: Stack Problem / Level: beginner

Problem: Write a function to check if parentheses in a string are balanced using a stack.

Run the code to see the output here...