摘要: 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 order (ie, sorted in ascending order).The replacement must be in-place, do not allocat 阅读全文
posted @ 2013-02-23 17:52 西施豆腐渣 阅读(97) 评论(0) 推荐(0) 编辑