【LeetCode】190.Reverse Bits

摘要: 原题地址:https://leetcode.com/problems/reverse-bits/description/ Reverse bits of a given 32 bits unsigned integer. For example, given input 43261596 (repr 阅读全文
posted @ 2017-09-22 10:52 小言大妖 阅读(123) 评论(0) 推荐(0)

【LeetCode】172. Factorial Trailing Zeroes

摘要: 原题链接:https://leetcode.com/problems/factorial-trailing-zeroes/description/ 题目要求: Given an integer n, return the number of trailing zeroes in n!. Note:  阅读全文
posted @ 2017-07-30 16:35 小言大妖 阅读(126) 评论(0) 推荐(0)

【LeetCode】171. Excel Sheet Column Number

摘要: 原题链接:https://leetcode.com/problems/excel-sheet-column-number/description/ 题目要求: Related to question Excel Sheet Column Title Given a column title as a 阅读全文
posted @ 2017-07-30 16:27 小言大妖 阅读(96) 评论(0) 推荐(0)

【LeetCode】169. Majority Element

摘要: 原题链接:https://leetcode.com/problems/majority-element/description/ 要求: Given an array of size n, find the majority element. The majority element is the 阅读全文
posted @ 2017-07-30 15:57 小言大妖 阅读(107) 评论(0) 推荐(0)

【LeetCode】168. 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 阅读全文
posted @ 2017-07-30 15:07 小言大妖 阅读(116) 评论(0) 推荐(0)

【LeetCode】167. Two Sum II - Input array is sorted

摘要: 原题链接:https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/tabs/description/ 题目要求:Given an array of integers that is already sorted in ascend 阅读全文
posted @ 2017-07-28 16:57 小言大妖 阅读(99) 评论(0) 推荐(0)

【LeetCode】155. Min Stack

摘要: 原题链接:https://leetcode.com/problems/min-stack/tabs/description 要求: Design a stack that supports push, pop, top, and retrieving the minimum element in c 阅读全文
posted @ 2017-07-28 16:22 小言大妖 阅读(103) 评论(0) 推荐(0)

【LeetCode】136.Single Number

摘要: 原题地址:https://leetcode.com/problems/single-number/tabs/description Given an array of integers, every element appears twice except for one. Find that si 阅读全文
posted @ 2017-07-28 15:45 小言大妖 阅读(217) 评论(0) 推荐(0)