111k views
4 votes
Suppose that we want to multiply 500 matrices and we use the optimal parenthesization computed by the MATRIX-CHAIN-ORDER function discussed in class. After finding the optimal parenthesization, how many pairs of round brackets ( ) are printed by the procedure PRINT-OPTIMAL-PARENS(s, 1, 500)?

a. 249
b. 501
c. 251
d. 250
e. 499
f. 500

User Papillon
by
5.6k points

2 Answers

4 votes

is (c)251? correct since i'm not really sure

User Dmaxi
by
5.1k points
3 votes

Answer:

síganme en las claves de ustedes pronto. Seré un buen día. He seguido un poco sobre el Is. He seguido un poco sobre el Is. He seguido un poco sobre el.

User Bammab
by
4.7k points