摘要: 题目: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical. 阅读全文
posted @ 2018-01-14 14:42 Sherry_Yang 阅读(134) 评论(0) 推荐(0) 编辑
摘要: class Solution { public: int quicksort(vector& nums, int start, int end, int k){ int i = start; int j = end; int x = nums[i]; while (ix && ik-1) //出错的地方………... 阅读全文
posted @ 2018-01-14 11:53 Sherry_Yang 阅读(104) 评论(0) 推荐(0) 编辑