LeetCode 31 Next Permutation 解题记录
刚入职不久,打算分门别类的刷一下LeetCode,于是首先从Array类的题目开始。今天做到一个题目,题号是31,原文题目如下:Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such ar
原创
2016-09-11 19:40:44 ·
377 阅读 ·
0 评论