码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Leetcode:Subsets 子集生成
Subsets:Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set mus...
分类:其他好文   时间:2014-06-29 00:03:40    阅读次数:272
【leetcode】Minimum Path Sum
Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note:Yo...
分类:其他好文   时间:2014-06-28 15:55:58    阅读次数:196
Leetcode: Single Number
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexi...
分类:其他好文   时间:2014-06-20 23:34:47    阅读次数:308
jqGrid配置属性说明
PropertyTypeDescriptionDefault1)ajaxGridOptionsobjectThis option allows to set global ajax settings for the grid when requesting data. Note that with ...
分类:其他好文   时间:2014-06-20 17:15:59    阅读次数:218
[LeetCode] Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note: You may assume that A has enough space (size that is greater or equa...
分类:其他好文   时间:2014-06-20 15:25:50    阅读次数:225
【Leetcode】Pascal's Triangle II
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? 思路:最简单的方法就是按...
分类:其他好文   时间:2014-06-18 12:40:54    阅读次数:265
4Sum
题目 Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: ...
分类:其他好文   时间:2014-06-18 12:17:57    阅读次数:179
LeetCode:Subsets
Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets. For example, ...
分类:其他好文   时间:2014-06-18 00:39:26    阅读次数:301
LeetCode:Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional ele...
分类:其他好文   时间:2014-06-17 23:05:13    阅读次数:246
3Sum
题目 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a tr...
分类:其他好文   时间:2014-06-17 22:04:49    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!