码迷,mamicode.com
首页 >  
搜索关键字:permutations ii    ( 7008个结果
careercup-递归和动态规划 9.2
9.2 设想有个机器人坐在X*Y网格的左上角,只能向右、向下移动。机器人从(0,0)到(X,Y)有多少种走法?进阶:假设有些点为“禁区”,机器人不能踏足。设计一种算法,找到一条路径,让机器人从左上角移动到右下角。类似leetcode:Unique Paths和Unique Paths II解法:我们...
分类:其他好文   时间:2014-12-07 19:03:50    阅读次数:191
查看uCOS-II的CPU使用率
代码模板: 1 void main(void) 2 { 3 OSInit(); 4 /* 安装uCOS-II的任务切换向量 */ 5 /* 创建用户起始任务TaskStart */ 6 OSStart(); 7 } 8 9 void TaskStart(void * pdata...
分类:其他好文   时间:2014-12-07 17:46:28    阅读次数:291
[Leetcode] Palindrome Partitioning II
这是LeetCode上的一道题目,求出对于一个string,至少切多少刀可以让所有的substring都是回文串。原题是 https://oj.leetcode.com/problems/palindrome-partitioning-ii/Given a string s, partition s...
分类:其他好文   时间:2014-12-07 16:24:04    阅读次数:215
WindowsPhone系统优劣分析
WP系统分析I 优I.1 Metro风格I.2 动态磁贴I.3 原生Office集成I.4 云服务,人脉、日程与PC同步,期待闹钟也可以同步I.5 Cortana语音助手小娜I.6 磁贴分组II 劣II.1 锁屏 II.1.1 界面自定义 II.1.2 解锁方式多样化II.2 日程农历 II....
分类:Windows程序   时间:2014-12-06 23:57:34    阅读次数:271
LeetCode: Palindrome Partitioning II 解题报告
Palindrome Partitioning IIGiven a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for ...
分类:其他好文   时间:2014-12-06 22:52:25    阅读次数:291
LeetCode: Jump Game II 解题报告
Jump Game II Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represent...
分类:其他好文   时间:2014-12-06 22:42:02    阅读次数:235
【LeetCode】Search in Rotated Sorted Array II (2 solutions)
Search in Rotated Sorted Array IIFollow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity...
分类:其他好文   时间:2014-12-06 19:32:52    阅读次数:173
[LeetCode] Permutations II 排列
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-12-06 16:46:12    阅读次数:225
任务管理(uC/OS-II)
任务可以是一个无限的循环,也可以在一次执行完毕后被删除掉。任务的返回类型必须定义成void,只是它决不返回。任务必须是以下两种结构之一:void YourTask(void *pdata){ for (;;) { /*用户代码*/ }}void YourTask(vo...
分类:其他好文   时间:2014-12-06 15:16:27    阅读次数:244
linux shell编程之bash 多命令顺序执行与管道符
主要包含命令: 分号使用示例: &&运算符 II运算符 管道符 | 前面命令的正确输出作为后米命令的操作对象 最简单的命令:...
分类:系统相关   时间:2014-12-06 11:26:20    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!