asked 122k views
0 votes
Consider the usual algorithm for determining whether a sequence of parentheses is balanced. What is the maximum number of parentheses that will appear on the stack AT ANY ONE TIME when the algorithm analyzes: (()(())(()))

a. 1
b. 2
c. 3
d. 4

asked
User Rozumir
by
7.8k points

2 Answers

0 votes
In my opinion the providing question provided would be number c
3 votes
either B or C

Explanation :
answered
User Nazanin
by
8.4k points

No related questions found