码迷,mamicode.com
首页 >  
搜索关键字:part solution    ( 14980个结果
Implement strStr()
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.思路:这是一道字符串匹配的函数,就是找出needle...
分类:其他好文   时间:2014-06-18 22:16:17    阅读次数:236
【Leetcode】Set Matrix Zeroes
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Could you devise a constant space solution? 思路:因为需要遍历整个矩阵,时间复杂度肯定需要O(m * n),对于空间复杂度而言,第一种是可以使用O(m * n),...
分类:其他好文   时间:2014-06-18 12:33:39    阅读次数:167
【Leetcode】Combinations
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]...
分类:其他好文   时间:2014-06-18 11:41:52    阅读次数:156
LeetCode: Generate Parentheses 题解
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2014-06-18 11:15:22    阅读次数:149
SharePoint 修改密码Web Part部署方案
SharePoint用户可能需要更改自己AD中记录的登录密码。本文介绍SharePoint 修改密码Web Part部署方案,放在页面中,用户可以自行修改。...
分类:Web程序   时间:2014-06-18 07:42:26    阅读次数:244
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
在SharePoint中使用LINQ
LINQ是一种有效且高效的查询数据的方法。使用SPMetal你可以准备SharePoint列表来查询。下面讲解在SharePoint中使用LINQ。...
分类:其他好文   时间:2014-06-17 23:23:11    阅读次数:215
UML的基础元件之架构元件(四)
Structural Things An artifact is a physical and replaceable part of a system that contains physical information (“bits”). In a system, you’ll encounter different kinds of deployment artifacts...
分类:其他好文   时间:2014-06-17 23:08:40    阅读次数:258
Generate Parentheses
题目 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()...
分类:其他好文   时间:2014-06-17 22:59:06    阅读次数:223
在SharePoint页面嵌入简单的Silverlight程序
在SharePoint页面嵌入简单的Silverlight程序。...
分类:Web程序   时间:2014-06-16 19:12:20    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!