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

the smaller of two numbers is 2 less than 1/3 the larger. this sum of the two numbers is 50. find the value of the numbers
The difference in cost between a large bag of chips and a small bag of chips was 90 cents. Alicia bought 5 large bags and 3 small bags of chips for her party an
Why did antidemocratic governments rise to power in postwar Europe and Asia?
i need help with adding fractions
List three impulse goods that you or someone you know has purchased
7b ÷ 12 = 4.2  what does b =
The probability of a particular event is 3/8. What is the probability that the event will not happen? Explain
You have had a class discussion on the following question:What areYou have had a class discussion on the following question:What are the pros and cons of keepin
Which of the following integers is in the solution set of │1 – 3x│ < 5 ? I -1 II 1 III 2
7b ÷ 12 = 4.2                  What is b?