### LeetCode解题报告

LeetCode解题报告，目前主要是用Python实现，每个题目都尽可能给出多种思路和解法。

2 已关注
90篇博文
• #### 382. Linked List Random Node [medium] (Python)

2016-09-01 12:20
1041
• #### 167. Two Sum II - Input array is sorted [medium] (Python)

题目链接https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/题目原文 Given an array of integers...

2016-08-31 19:33
2258
• #### 347. Top K Frequent Elements [medium] (Python)

题目链接https://leetcode.com/problems/top-k-frequent-elements/题目原文 Given a non-empty array of integers...

2016-07-30 21:04
1431
• #### 122. Best Time to Buy and Sell Stock II [medium] (Python)

题目链接https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/题目原文 Say you have an array fo...

2016-07-30 12:31
1005
• #### 238. Product of Array Except Self [medium] (Python)

题目链接https://leetcode.com/problems/product-of-array-except-self/题目原文 Given an array of n integers w...

2016-07-30 11:46
1019
• #### 260. Single Number III [medium] (Python)

题目链接https://leetcode.com/problems/single-number-iii/题目原文 Given an array of numbers nums, in which ...

2016-07-30 10:58
895
• #### 136. Single Number [medium] (Python)

题目链接https://leetcode.com/problems/single-number/题目原文 Given an array of integers, every element app...

2016-07-29 14:30
1522
• #### 338. Counting Bits [medium] (Python)

题目链接https://leetcode.com/problems/counting-bits/题目原文 Given a non negative integer number num. For ...

2016-07-29 13:27
930
• #### 387. First Unique Character in a String [easy] (Python)

题目链接https://leetcode.com/problems/first-unique-character-in-a-string/题目原文 Given a string, find the...

2016-08-31 19:15
1512
• #### 389. Find the Difference [easy] (Python)

题目链接https://leetcode.com/problems/find-the-difference/题目原文 Given two strings s and t which consist...

2016-08-31 18:35
2124
• #### 383. Ransom Note [easy] (Python)

题目链接https://leetcode.com/problems/ransom-note/题目原文> Given  an  arbitrary  ransom  note  string  and ...

2016-08-31 19:09
1301
• #### 8. String to Integer (atoi) [easy] (Python)

题目链接https://leetcode.com/problems/string-to-integer-atoi/题目原文 Implement atoi to convert a string t...

2016-07-28 11:47
1527
• #### 189. Rotate Array [easy] (Python)

题目链接https://leetcode.com/problems/rotate-array/题目原文 Rotate an array of n elements to the right by ...

2016-07-28 10:32
1333
• #### 278. First Bad Version [easy] (Python)

题目链接https://leetcode.com/problems/first-bad-version/题目原文 You are a product manager and currently l...

2016-07-27 18:19
1153
• #### 155. Min Stack [easy] (Python)

题目链接https://leetcode.com/problems/min-stack/题目原文 Design a stack that supports push, pop, top, and ...

2016-07-27 17:13
1080
• #### 7. Reverse Integer [easy] (Python)

题目链接https://leetcode.com/problems/reverse-integer/题目原文 Reverse digits of an integer. Example1: ...

2016-07-26 21:50
2400
• #### 6. ZigZag Conversion [easy] (Python)

题目链接https://leetcode.com/problems/zigzag-conversion/题目原文 The string “PAYPALISHIRING” is written in...

2016-07-26 21:13
1339
• #### 1. Two Sum [easy] (Python)

题目链接https://leetcode.com/problems/two-sum/题目原文 Given an array of integers, return indices of the t...

2016-07-26 20:19
1608
• #### 374. Guess Number Higher or Lower [easy] (Python)

题目链接https://leetcode.com/problems/guess-number-higher-or-lower/题目原文 We are playing the Guess Game....

2016-07-26 19:49
1376
• #### 371. Sum of Two Integers [easy] (Python)

题目链接https://leetcode.com/problems/sum-of-two-integers/题目原文 Calculate the sum of two integers a and...

2016-07-26 12:08
3428