题目 题目要求:去除sort int数组中的重复项。 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,...
分类:
其他好文 时间:
2015-02-10 13:31:25
阅读次数:
126
Given a sorted linked list, delete all duplicates such that each element appear onlyonce.For example,Given1->1->2, return1->2.Given1->1->2->3->3, retu...
分类:
其他好文 时间:
2015-02-09 15:44:36
阅读次数:
139
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2015-02-09 09:23:32
阅读次数:
176
Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ...
分类:
其他好文 时间:
2015-02-09 00:33:40
阅读次数:
136
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-02-09 00:31:59
阅读次数:
227
题目描述:Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new ...
分类:
其他好文 时间:
2015-02-07 17:18:43
阅读次数:
140
Q:Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example:1 -> A
2 -> B
3 -> C
...
26 -> Z
27 -> AA
28 -> AB
这道题是Excel Sheet Column Number的反转。
与一般的N进制的...
分类:
其他好文 时间:
2015-02-07 13:12:54
阅读次数:
131
Q:
Related to question Excel Sheet Column Title
Given a column title as appear in an Excel sheet, return its corresponding column number.
For example:
A -> 1
B -> 2
C -> 3
...
分类:
其他好文 时间:
2015-02-07 11:45:24
阅读次数:
121
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.
定义一个pre 和cur
1.当二者...
分类:
编程语言 时间:
2015-02-05 09:34:25
阅读次数:
189
Attention:--------à写给自己及小白看吹牛逼+瞎扯淡:小的Linux小白,在冲往老黑的过程中会遇到麻烦那是必然。想必N多老黑在小白起步时,也都会有抱起服务器/PC狂砸的冲动。在下昨夜就有这种想法。装尼玛一破B系统,从19点开始到凌晨2点还TM启动不了,真是有种砸了眼前的一切..
分类:
其他好文 时间:
2015-02-05 07:08:04
阅读次数:
541