码迷,mamicode.com
首页 >  
搜索关键字:unique paths    ( 5916个结果
Leetcode dfs Combination SumII
Combination Sum II  Total Accepted: 13710 Total Submissions: 55908My Submissions Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C wher...
分类:其他好文   时间:2014-09-01 14:03:23    阅读次数:188
Leetcode dfs Combination Sum
Combination Sum  Total Accepted: 17319 Total Submissions: 65259My Submissions Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the ca...
分类:其他好文   时间:2014-09-01 12:42:03    阅读次数:259
LeetCode: Unique Binary Search Trees
LeetCode: Unique Binary Search TreesGiven n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3...
分类:其他好文   时间:2014-08-31 22:41:31    阅读次数:361
Leetcode dfs Path SumII
Path Sum II  Total Accepted: 18489 Total Submissions: 68323My Submissions Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For exampl...
分类:其他好文   时间:2014-08-31 21:28:11    阅读次数:180
mysql的约束
MySQL中约束保存在information_schema数据库的table_constraints中,可以通过该表查询约束信息; 约束主要完成对数据的检验,保证数据库数据的完整性;如果有相互依赖数据,保证该数据不被删除。 常用五类约束:not null:非空约束,指定某列不为空 unique: 唯...
分类:数据库   时间:2014-08-31 20:03:01    阅读次数:242
C++11 智能指针unique_ptr使用 -- 以排序二叉树为例
用智能指针可以简化内存管理。以树为例,如果用普通指针,通常是在插入新节点时用new,在析构函数中调用delete;但有了unique_ptr类型的智能指针,就不需要在析构函数中delete了,因为当unique_ptr类型的指针P生命结束时(比如对于局部变量,程序执行到局部变量的作用域范围之外).....
分类:编程语言   时间:2014-08-31 15:38:31    阅读次数:246
Leetcode--Permutation Sequence
Problem Description: The set [1,2,3,…,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, We get the following sequence (ie, for n = 3):...
分类:其他好文   时间:2014-08-30 17:49:39    阅读次数:171
Handlebars expressions
Basic Usage1,最简单的handlebars 表达式{{title}}使用时,会在当前context里找名为title的property,替换之。2,handlebars表达式也可以是一个带‘.’的paths{{article.title}}该表达式会在current context里查找...
分类:其他好文   时间:2014-08-29 20:04:18    阅读次数:158
Leetcode 动态规划 Unique Paths II
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie Unique Paths II  Total Accepted: 13655 Total Submissions: 49081My Submissions Follow up for "Unique Paths": Now consider i...
分类:其他好文   时间:2014-08-29 16:12:34    阅读次数:236
Leetcode 动态规划 Unique Paths
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie Unique Paths  Total Accepted: 17915 Total Submissions: 57061My Submissions A robot is located at the top-left corner of a m...
分类:其他好文   时间:2014-08-29 13:10:17    阅读次数:271
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!