摘要:
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. 题目大意: 给一个排好序的LinkedLis 阅读全文
posted @ 2019-04-03 16:57
小白兔云
阅读(104)
评论(0)
推荐(0)
摘要:
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]). Yo 阅读全文
posted @ 2019-04-03 16:50
小白兔云
阅读(135)
评论(0)
推荐(0)
摘要:
Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra 阅读全文
posted @ 2019-04-03 11:50
小白兔云
阅读(161)
评论(0)
推荐(0)

浙公网安备 33010602011771号