Spotify: Hangout Interview | Data Engineer

They sent me a CoderPad link right after the interview started:

Write a function to check that a String is parenthetically balanced.
For example:
  - "(bar)" - balanced
  - "(()" - not balanced
  - "(())(()" - not balanced

Ref.: https://leetcode.com/problems/valid-parentheses/

Comments (2)