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

please help i’m confused
Albert has been working as the head accountant in a manufacturing company for 11 years. Recently, he has been guiding his employer to make more investments, pay
a idea that is repeatedly tested and widely excepted is
Cette phrase est correcte: J'irais au musée si j'avais le temps. Select one: True False Cette phrase est correcte: Nous allions au restaurant si nous serions ri
Find the surface area of the prism. (Seci 4 cm 1. 3 cm s 10 cm 5 cm
whichs the major difference between isslam and judaism
What is the definition of net pay
Measures of the angles of a triangle are in the extended ratio 4:12:14. What is the measure of the smallest angle A. 6° B. 24° C. 72° D. 84°
What is the area of a triangle with base 18 meters and height6 meters?​
what is the area of a trapezoid that has a bases measuring 19 cm and 23 cm, and a height of 14 cm?