Leetcode 31. Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the lowest possible
原创
2016-01-28 04:58:52 ·
242 阅读 ·
0 评论