BOpeepster3598 BOpeepster3598
  • 24-05-2023
  • Mathematics
contestada

Question No:1 Marks:04 [CLO-2] We are given a string having parenthesis like below "(((X)) (((Y))))" We need to find the maximum depth of balanced parenthesis, like 4 in the above example. Since 'Y' is surrounded by 4 balanced parentheses. If parenthesis is unbalanced then return -1.

Respuesta :

Otras preguntas

Calculate the slope of a Line that intersects point (6,2) And ((-4,-3). A.1/2. B.2/3 C.4/5. D.7/8. For me the answer are a. Please help me.
Find the domain of each rational expression. f(x)=5x-7/4
The boy was penitent and _______ to the store clerk for stealing candy.a-bragged b-apologizedc-talked d-cordial
The boy was penitent and _______ to the store clerk for stealing candy.a-bragged b-apologizedc-talked d-cordial
Factor then solve.1.81 - 4x²=02. 4s² + 9 = 12s
what is a closed-ended question?
How many faces edges vertices does a decagonal prism have ?
what is the possessive case?
sue stacked one box onto another. the bottom had the height of 2 1/3 feet and the top box had the height of 3 2/3 feet. how tall were the stacked boxes?
What is the passive voice of "I went to a movie"