摘要:
Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your function s 阅读全文
posted @ 2017-04-07 21:11
hellowOOOrld
阅读(875)
评论(0)
推荐(0)
摘要:
Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2->3-> 阅读全文
posted @ 2017-04-07 18:55
hellowOOOrld
阅读(151)
评论(0)
推荐(0)
摘要:
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 思路:先翻转再对换 1 阅读全文
posted @ 2017-04-07 09:35
hellowOOOrld
阅读(106)
评论(0)
推荐(0)


浙公网安备 33010602011771号