Combination Sum

2020-08-14

问题 :https://leetcode-cn.com/problems/combination-sum/

解:https://gitee.com/footmanff/leetcode/blob/master/src/main/java/com/footmanff/leetcode/P39_1.java

递归解法,用的语言的递归调用,语言递归调用会栈溢出。

还需要实现一种在 Java 堆内存上去模拟递归调用。

Newer
Partition Equal Subset Sum
Older
Ugly Number系列
© 2023 张阿力 - Powered by Hexo - Theme Jane
浙ICP备18005239号
Home Archives Tag Github