题目描述
链接地址
解法题目描述Given a sorted linked list, delete all duplicates such that each element appear only once.Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.链接地址http://www.lintcode.com/en...
分类:
其他好文 时间:
2015-07-08 09:36:06
阅读次数:
109
Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another ...
分类:
编程语言 时间:
2015-07-07 22:53:56
阅读次数:
203
Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 ->...
分类:
其他好文 时间:
2015-07-07 09:21:14
阅读次数:
233
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with cons...
分类:
其他好文 时间:
2015-07-06 18:05:48
阅读次数:
125
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->3, return 1->2->3.题目:输入一个排序好的链表,其中可能有元素是重复的,找出重复数据...
分类:
其他好文 时间:
2015-07-06 12:19:41
阅读次数:
107
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this in place with cons...
分类:
其他好文 时间:
2015-07-04 15:35:29
阅读次数:
123
描述:Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For...
分类:
其他好文 时间:
2015-07-04 10:57:26
阅读次数:
99
今天开始使用谷歌的SwipeRefreshLayout,会记下一些坑1.手动调用setRefreshing(true)不会出现刷新动画原因是:SwipeRefreshLayout indicator does not appear when thesetRefreshing(true)is call...
分类:
其他好文 时间:
2015-07-03 15:23:06
阅读次数:
116
题目:Given an integer array of size n, find all elements that appear more than ? n/3 ? times. The algorithm should run in linear time and in O(1) space.
求出现次数大于三分之一数组的长度,所以最多就只有2个这样的元素,题目要求线性时间复杂度和常数的空...
分类:
编程语言 时间:
2015-07-01 23:47:42
阅读次数:
424
https://leetcode.com/problems/excel-sheet-column-title/Given a positive integer, return its corresponding column title as appear in an Excel sheet.For...
分类:
其他好文 时间:
2015-07-01 23:27:30
阅读次数:
181