1/5 Test Cases Passed
You need to earn 2 or 3 stars in order to submit.
1/5 Test Cases Passed
You need atleast 2 stars to grade your answer.
Test Cases (0/5)
-
parensValid("Y(3(p)p(3)r)s") to return true
-
parensValid("N(0)t )0(k") to return false
-
parensValid("N(0)t (0(k))") to return true
-
parensValid("(N(0)t (0(k))") to return false
-
parensValid("()(N(0)t (0(k)))") to return true