方法一:动态规划 方法二:备忘录法 Read More
posted @ 2017-05-20 17:49 chengcy Views(99) Comments(0) Diggs(0) Edit
方法一:直接使用备忘录 方法二:使用动态规划的方法 Read More
posted @ 2017-05-20 16:40 chengcy Views(102) Comments(0) Diggs(0) Edit
方法:使用深度遍历的方法,时间复杂度O(2^n) Read More
posted @ 2017-05-20 15:52 chengcy Views(105) Comments(0) Diggs(0) Edit