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-08-07 00:15:02
阅读次数:
121
Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ...
分类:
其他好文 时间:
2015-08-07 00:08:19
阅读次数:
142
Given an integer array of sizen, find all elements that appear more than? n/3 ?times. The algorithm should run in linear time and in O(1) space.解法:参考编...
分类:
其他好文 时间:
2015-08-06 23:52:02
阅读次数:
201
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.
此题是Majority Element的继续,关于此题可以移步至Majority
Elem...
分类:
其他好文 时间:
2015-08-06 13:28:19
阅读次数:
104
【083-Remove Duplicates from Sorted List(排序的单链表中删除重复的结点)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,...
分类:
编程语言 时间:
2015-08-04 08:15:48
阅读次数:
151
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-08-02 21:42:27
阅读次数:
97
Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ...
分类:
其他好文 时间:
2015-08-02 18:02:21
阅读次数:
158
What does the 11 mean in INT(11)? By Jeremy Smyth-Oracle on?Mar 26, 2014 If you create a table using a numeric type like?INT?or?BIGINT, you might have been surprised by the numbers that appear ...
分类:
其他好文 时间:
2015-07-30 17:19:34
阅读次数:
125
Excel Sheet Column Title
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
...
分类:
其他好文 时间:
2015-07-29 14:09:15
阅读次数:
120
Majority Element II
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.
解题思路:
此前做了一道题目,返回主要元...
分类:
其他好文 时间:
2015-07-27 13:15:53
阅读次数:
103