加载中
[leetcode] Insert Interval

Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary)....

2014/06/26 17:17
328
[leetcode] Length of Last Word

Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string....

2014/06/26 16:30
229
[leetcode] Spiral Matrix II

Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order....

2014/06/26 16:21
187
[leetcode] Permutation Sequence

The set [1,2,3,…,n] contains a total of n! unique permutations.

2014/06/26 16:15
267
[leetcode] Rotate List

Given a list, rotate the list to the right by k places, where k is non-negative.

2014/06/26 15:17
38
[leetcode] Merge Intervals

Given a collection of intervals, merge all overlapping intervals.

2014/06/26 14:47
362
[leetcode] Spiral Matrix

Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order....

2014/06/26 14:37
29
[leetcode] Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array....

2014/06/26 14:23
76
[leetcode] Maximum Subarray

Find the contiguous subarray within an array (containing at least one number) which has the largest sum....

[leetcode] Anagrams

Given an array of strings, return all groups of strings that are anagrams.

2014/06/26 11:49
282
[leetcode] Pow(x, n)

Implement pow(x, n).

2014/06/26 11:37
23
[leetcode] N-Queens II

Now, instead outputting board configurations, return the total number of distinct solutions....

2014/06/26 11:28
78
[leetcode] N-Queens

The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other....

2014/06/26 11:24
329
[leetcode] Rotate Image

You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise)....

2014/06/26 11:14
135
[leetcode] Jump Game II

Given an array of non-negative integers, you are initially positioned at the first index of the array....

2014/06/26 10:47
353
[leetcode] Permutations II

Given a collection of numbers that might contain duplicates, return all possible unique permutations....

2014/06/26 10:14
30
[leetcode] Permutations

Given a collection of numbers, return all possible permutations.

2014/06/26 10:02
28
[leetcode] Wildcard Matching

Implement wildcard pattern matching with support for '?' and '*'.

2014/06/26 00:22
1K
[leetcode] Multiply Strings

Given two numbers represented as strings, return multiplication of the numbers as a string....

2014/06/25 23:57
91
[leetcode] Trapping Rain Water

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....

2014/06/25 23:40
310

没有更多内容

加载失败,请刷新页面

返回顶部
顶部