Balanced Brackets Check

Asked at Apple · Coding Questions · Difficulty: Easy

A string made only of bracket characters is balanced when every bracket is properly paired with another one. Decide whether a given string is balanced.

Loading the problem…