动态规划矩阵连乘问题备忘录方法自顶向下递归 [Dynamic Programming] Matrix Multiplication Problem Memo Method: Top-down recursion