Ad
  • Custom User Avatar

    It is a random test. I got it by Console.WriteLine()

  • Custom User Avatar

    What should I do if a random test is incorrect?

    Test case: hi(hi)(hi(hi))(())(()hi(hi)

    Expected: Valid (True)
    Actual: False

    Solving steps:
    0. hi(hi)(hi(hi))(())(()hi(hi)

    1. ()(())(())(()() -- parentheses without text
    2. ( -- removed all paired parentheses

    Test is incorrect