[LeetCode] 31. Next Permutation 下一个排列

A permutation of an array of integers is an arrangement of its members into a sequence or linear order. For example, for arr = [1,2,3], the following
posted @ 2015-04-15 12:53  Grandyang  阅读(45760)  评论(13)    收藏  举报
Fork me on GitHub