### LeetCode题解

1 已关注
60篇博文
• #### leetcode-628. Maximum Product of Three Numbers

628. Maximum Product of Three Numbers Given an integer array, find three numbers whose product ...

2018-01-05 11:09
72
• #### leetcode-160. Intersection of Two Linked Lists

160. Intersection of Two Linked Lists Write a program to find the node at which the intersection ...

2018-01-03 19:08
240
• #### leetcode-142. Linked List Cycle II

142. Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no...

2018-01-01 20:00
115
• #### leetcode-141. Linked List Cycle

141. Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve...

2018-01-01 19:23
123
• #### leetcode-287. Find the Duplicate Number

287. Find the Duplicate NumberGiven an array nums containing n + 1 integers where each integer is be...

2017-12-27 22:17
201
• #### leetcode-752. Open the Lock

752. Open the Lock You have a lock in front of you with 4 circular wheels. Each wheel has 10 ...

2017-12-25 12:31
569
• #### leetcode-751. IP to CIDR

751. IP to CIDR Given a start IP address ip and a number of ips we need to cover n, return ...

2017-12-25 12:28
965
• #### leetcode-747. Largest Number Greater Than Twice of Others

747. Largest Number Greater Than Twice of Others In a given integer array nums, there is always ex...

2017-12-25 12:26
508
• #### leetcode-565. Array Nesting

565. Array Nesting A zero-indexed array A of length N contains all integers from 0 to N-1. Find and...

2017-12-23 10:18
201
• #### leetcode-121. Best Time to Buy and Sell Stock

121. Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price...

2017-12-21 09:58
162
• #### leetcode-216. Combination Sum III

216. Combination Sum III Find all possible combinations of k numbers that add up to a number n, gi...

2017-12-14 21:13
216
• #### leeetcode-40. Combination Sum II

40. Combination Sum II Given a collection of candidate numbers (C) and a target number (T), fin...

2017-12-11 18:50
176
• #### leetcode- 39. Combination Sum

39. Combination Sum iven a set of candidate numbers (C) (without duplicates) and a target num...

2017-12-08 18:29
66
• #### leetcode-90. Subsets II

90. Subsets II Given a collection of integers that might contain duplicates, nums, return all poss...

2017-12-07 21:37
46
• #### leetcode-78. Subsets

78. Subsets Given a set of distinct integers, nums, return all possible subsets (the power set)...

2017-12-06 15:27
195
• #### leetcode-238. Product of Array Except Self

238. Product of Array Except Self Given an array of n integers where n > 1, nums, return an arra...

2017-11-29 20:38
190
• #### leetcode- 442. Find All Duplicates in an Array

442. Find All Duplicates in an Array Given an array of integers, 1 ≤ a[i] ≤ n (n = size of arra...

2017-11-27 12:44
238
• #### leetcode-100. Same Tree

100. Same Tree Given two binary trees, write a function to check if they are the same or not. Two...

2017-11-26 12:56
206
• #### leetcode-530. Minimum Absolute Difference in BST

530. Minimum Absolute Difference in BST Given a binary search tree with non-negative values, find...

2017-11-25 10:45
80
• #### leetcode-728. Self Dividing Numbers

728. Self Dividing Numbers A self-dividing number is a number that is divisible by every digi...

2017-11-24 16:57
942