for this test case
(((a+(b))+(c+d)))
The explanation is this : **
For the 1st test case: The subexpression “a+(b)” is surrounded by two pairs of brackets.**
But I cannot see that “a+(b)” is surrounded rather I think “((a+(b))+(c+d))” is sorrounded.