关于数学组合题的解法.用模板类+回归函数实现,思路简单清晰.这是我在索贝数码公司时接到的一道应聘题.含有算法描述文档.-on mathematical solution to the problem of portfolio. Template function to achieve the reunification category, the thinking is clear and simple. This is the closest digital received by the company and that a candidate. Documents containing algorithm description.
距阵链乘问题:
找出矩阵链乘A(35*40) A(40*20) A(20*10)
A(10*15)的最佳相乘次序。
算法来自:计算机算法导引-matrix chain by : identify matrix chain by A (35* 40) A (40* 20) A (20* 10) A (10* 15) concludes the best order. Algorithm from : computer algorithm Seeker