摘要: 原题链接在这里:https://leetcode.com/problems/shuffle-an-array/ 题目: Shuffle a set of numbers without duplicates. Example: 题解: Shuffle时每个数字在小于它的方位内 swap 一次. j 阅读全文
posted @ 2017-11-30 16:58 Dylan_Java_NYC 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/number-of-distinct-islands/description/ 题目: Given a non-empty 2D array grid of 0's and 1's, an island is a group 阅读全文
posted @ 2017-11-30 05:26 Dylan_Java_NYC 阅读(972) 评论(0) 推荐(0) 编辑