摘要: QuestionGiven an unsorted arraynums, reorder itin-placesuch thatnums[0] = nums[2] = nums[2] nums[i - 1])11 swap(nums, i, i - 1);1... 阅读全文
posted @ 2015-10-23 12:35 树獭君 阅读(241) 评论(0) 推荐(0) 编辑