Question d’entretien chez Rafael

Matrix chain multiplication question, first naive recursive solution, then dynamic programming.