![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OJ
zhemeteor
这个作者很懒,什么都没留下…
展开
-
[LeetCode][171][Excel Sheet Column Number]
题目链接:https://leetcode.com/problems/excel-sheet-column-number/ 题目描述: Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1原创 2015-04-02 21:28:36 · 451 阅读 · 0 评论 -
[LeetCode][169][Majority Element]
题目链接:https://leetcode.com/problems/majority-element/ 题目描述: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You原创 2015-04-02 22:02:40 · 463 阅读 · 0 评论 -
[LeetCode][191][Number of 1 Bits]
题目链接:https://leetcode.com/problems/number-of-1-bits/ 题目描述: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For examp原创 2015-03-18 15:48:33 · 379 阅读 · 0 评论 -
[LeetCode][190][Reverse Bits]
题目链接:原创 2015-03-18 14:49:08 · 361 阅读 · 0 评论 -
[LeetCode][189][Rotate Array]
首先,一点题外话。 这是大学学计算机到现在近6年来的时间,第一次认真刷题(PS:中间学习生涯有各种原因碰过两三道。。。)。 作为一个计算机专业出身的程序媴真的很不称职,本科以来,没写过几次代码,算法,数据结构,数据库也一塌糊涂。一直觉得像OJ这么高深厉害的东西我肯定不会,如今浑浑噩噩已经混到研究生要毕业找工作的阶段了,终于抬起手开始练练代码。 好了,作如上铺垫只是为了说明,我将要写的这一系列原创 2015-03-05 15:12:09 · 499 阅读 · 0 评论 -
[LeetCode][160][Intersection of Two Linked Lists ]
题目链接:https://leetcode.com/problems/intersection-of-two-linked-lists/ 题目描述: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the fol原创 2015-04-11 18:56:52 · 548 阅读 · 0 评论 -
[LeetCode][172][Factorial Trailing Zeroes]
题目链接:https://leetcode.com/problems/factorial-trailing-zeroes/ 题目描述: Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity.原创 2015-03-09 21:40:10 · 432 阅读 · 0 评论 -
[LeetCode][165][Compare Version Numbers]
题目链接:https://leetcode.com/problems/compare-version-numbers/ 题目描述: Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 version2 return -1, otherwise原创 2015-04-11 15:43:35 · 484 阅读 · 0 评论