题目来源https://leetcode.com/problems/jump-game/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each... Read More
posted @ 2015-12-28 21:37
loadofleaf
Views(261)
Comments(0)
Diggs(0)
题目来源https://leetcode.com/problems/spiral-matrix-ii/Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.题意分析Inp... Read More
posted @ 2015-12-28 16:33
loadofleaf
Views(328)
Comments(0)
Diggs(0)
题目来源https://leetcode.com/problems/spiral-matrix/Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.题意分析I... Read More
posted @ 2015-12-28 16:20
loadofleaf
Views(238)
Comments(0)
Diggs(0)
题目来源https://leetcode.com/problems/maximum-subarray/Find the contiguous subarray within an array (containing at least one number) which has the largest... Read More
posted @ 2015-12-28 15:14
loadofleaf
Views(290)
Comments(0)
Diggs(0)
题目来源https://leetcode.com/problems/n-queens-ii/Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of ... Read More
posted @ 2015-12-28 14:45
loadofleaf
Views(171)
Comments(0)
Diggs(0)
题目来源https://leetcode.com/problems/n-queens/Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each ... Read More
posted @ 2015-12-28 13:03
loadofleaf
Views(245)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号