2014年9月20日

[leetcode] Combinations @ Python [ask for help]

摘要: https://oj.leetcode.com/problems/combinations/Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If ... 阅读全文

posted @ 2014-09-20 09:16 AIDasr 阅读(133) 评论(0) 推荐(0)

[leetcode]Next Permutation @ Python

摘要: 原题地址:https://oj.leetcode.com/problems/next-permutation/题意:Implement next permutation, which rearranges numbers into the lexicographically next greater... 阅读全文

posted @ 2014-09-20 06:57 AIDasr 阅读(551) 评论(0) 推荐(0)

导航