Given some matrices, in what order you would multiply them to minimize cost of multiplication.

Given some matrices, in what order you would multiply them to minimize cost of multiplication.

Result :

84

Given two strings, find longest common subsequence between them.

Given two strings, find longest common subsequence between them.

Output is 4 (A, D, H, R)