Matrix chain multiplication: Difference between revisions

m
Line 585:
1773740 (1*((((((2*3)*4)*(((5*6)*7)*8))*9)*10)*11))
</pre>
 
This solution is faster than the recursive one. The 1000 loops run now in 0.234 ms and 0.187 ms per loop on average.
 
=={{header|zkl}}==
1,336

edits