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-11-02 16:19:50 ·
193 阅读 ·
0 评论