### LeetCode

2 已关注
67篇博文
• #### LeetCode目录。

本目录只会在一个Tag完成之后更新，实时更新目录：https://github.com/jiajia0/LeetCode。 按照LeetCode的Tags来区分的话，目前共有34个Tag，只列出已经...

2017-11-21 18:41
220
• #### 748. Shortest Completing Word。

Find the minimum length word from a given dictionary words, which has all the letters from the strin...

昨天 00:02
30
• #### 739. Daily Temperatures。

Given a list of daily temperatures, produce a list that, for each day in the input, tells you how ma...

昨天 23:16
26
• #### 136. Single Number。

Given an array of integers, every element appears twice except for one. Find that single one.原文：http...

前天 20:33
60
• #### 463. Island Perimeter。

You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represen...

3天前 13:02
24
• #### 575. Distribute Candies。

Given an integer array with even length, where different numbers in this array represent different k...

3天前 10:14
39
• #### 500. Keyboard Row。

Given a List of words, return the words that can be typed using letters of alphabet on only one row’...

3天前 22:05
40
• #### 771. Jewels and Stones。

You’re given strings J representing the types of stones that are jewels, and S representing the ston...

3天前 17:08
39
• #### 216. Combination Sum III。

Find all possible combinations of k numbers that add up to a number n, given that only numbers from ...

4天前 14:34
75
• #### 769. Max Chunks To Make Sorted。

Given an array arr that is a permutation of [0, 1, …, arr.length - 1], we split the array into some ...

2018-02-14 12:06
45
• #### 714. Best Time to Buy and Sell Stock with Transaction Fee。

Your are given an array of integers prices, for which the i-th element is the price of a given stock...

2018-02-12 22:50
53
• #### 121. Best Time to Buy and Sell Stock。

Say you have an array for which the ith element is the price of a given stock on day i.If you were o...

2018-02-09 23:12
65
• #### 661. Image Smoother。

Given a 2D integer matrix M representing the gray scale of an image, you need to design a smoother t...

2018-01-27 23:43
84
• #### 122. Best Time to Buy and Sell Stock II。

Say you have an array for which the ith element is the price of a given stock on day i.Design an alg...

2018-01-26 23:20
84
• #### 287. Find the Duplicate Number。

Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), pro...

2018-01-26 00:07
97
• #### 766. Toeplitz Matrix。

A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element.Now given ...

2018-01-25 00:06
137
• #### 674. Longest Continuous Increasing Subsequence。

Given an unsorted array of integers, find the length of longest continuous increasing subsequence (s...

2018-01-09 20:30
79
• #### 565. Array Nesting。

A zero-indexed array A of length N contains all integers from 0 to N-1. Find and return the longest ...

2018-01-10 15:35
94
• #### 268. Missing Number。

Given an array containing n distinct numbers taken from 0, 1, 2, …, n, find the one that is missing ...

2018-01-08 21:16
89
• #### 628. Maximum Product of Three Numbers。

Given an integer array, find three numbers whose product is maximum and output the maximum product.E...

2018-01-08 20:11
92

61612