Frage im Vorstellungsgespräch bei ShipBob

coding problem on balance parenthesis along with a variation.