예제 #1
0
    public void Example0()
    {
        string s          = "()()()()()";
        int    __expected = 1;
        int    __result   = new ParenthesisRemoval().countWays(s);

        Assert.AreEqual(__expected, __result);
    }
예제 #2
0
    public void Example4()
    {
        string s          = "((((())((((((((((()((((((()))))())))))()))))))))))";
        int    __expected = 948334170;
        int    __result   = new ParenthesisRemoval().countWays(s);

        Assert.AreEqual(__expected, __result);
    }