public void TestFindMatchedParenthesesScore() { var parentheses = "(()(()())(()))"; var parenthesesSolver = new BalancedParenthesesSolver(); var answer = parenthesesSolver.FindMatchedParenthesesScore(parentheses); }
public void FindLongestBalancedParenthesisLength() { var parentheses = ")(()))((()())()(()()))"; var parenthesesSolver = new BalancedParenthesesSolver(); var answer = parenthesesSolver.FindLongestBalancedParenthesisLength(parentheses); }