Topic: Stack Problem / Level: intermediate

Problem: Create a function to calculate the maximum depth of a nested set of parentheses in a given string using a stack.

Run the code to see the output here...