public void Test4() { string input = "{{[[(())]]}}"; string expected = "YES"; string result = BalancedBrackets.Solution(input); Assert.Equal(expected, result); }
public void Test1() { string input = "{()[{({})[]()}]}([])"; string expected = "YES"; string result = BalancedBrackets.Solution(input); Assert.Equal(expected, result); }
public void Test3() { string input = "{[(])}"; string expected = "NO"; string result = BalancedBrackets.Solution(input); Assert.Equal(expected, result); }