Matrix Chain Multiplication Algorithm.

Please explain the matrix chain multiplication algorithm.

For video explanation you can refer this