摘要: https://leetcode.com/problems/generate-parentheses/#/description 重新实现了一遍,也是使用回溯法。先使用python来做,本地测试正常,但是在leetcode上提交却WA,于是把python代码改写为C#,则AC了。 因此判断是OJ对p 阅读全文
posted @ 2017-05-14 09:42 Sempron2800+ 阅读(174) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/combination-sum-iii/#/description 阅读全文
posted @ 2017-05-14 09:36 Sempron2800+ 阅读(88) 评论(0) 推荐(0) 编辑