- 博客(2)
- 收藏
- 关注
原创 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 27 -> AA 28 -> AB 解法:
2015-02-01 22:50:06 111
原创 找出数组中最多的元素,已确定最多元素个数超过总数的一半
题目:Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority eleme
2015-02-01 21:53:09 262
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人