摘要: 原题链接在这里:https://leetcode.com/problems/sort-colors/ 题目: Given an array with n objects colored red, white or blue, sort them so that objects of the same 阅读全文
posted @ 2015-10-01 22:47 Dylan_Java_NYC 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/next-permutation/ 题目: Implement next permutation, which rearranges numbers into the lexicographically next great 阅读全文
posted @ 2015-10-01 21:18 Dylan_Java_NYC 阅读(333) 评论(0) 推荐(0) 编辑