码迷,mamicode.com
首页 >  
搜索关键字:subsets ii    ( 6815个结果
情境领导II
情境领导II
分类:其他好文   时间:2014-08-26 14:59:06    阅读次数:872
leetcode - Reverse Linked List II
题目:Reverse Linked List IIReverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,ret...
分类:其他好文   时间:2014-08-26 13:35:46    阅读次数:223
Nios II 中的缓存和内存数据的读写
nios 使用地址中31bit来表示访问是否bypass cache。如果bit 31=0 表示不bypass cache,即使用cache里的数据;如果bit 31=1表示bypass cache,即直接使用mem中的数据。如alt_remap_uncached函数 1 #ifdef NIOS2_...
分类:移动开发   时间:2014-08-26 00:12:15    阅读次数:526
Quartus 12的TimeQuest Timing Analyzer
Quartus 12的TimeQuest Timing Analyzer1.在Quartus II软件打开和设置设计 安装路径下\qdesigns\fir_fliter文件。在Processing 菜单上,指向Start,点击Start Analysis &Synthesis。2.运行TimeQue...
分类:其他好文   时间:2014-08-25 13:16:34    阅读次数:471
19. Palindrome Partitioning && Palindrome Partitioning II (回文分割)
思想: 简单的深度优先搜索。 思想: 动态规划: n = s.length(); Record[i] = 0 , ( i = n || is...
分类:其他好文   时间:2014-08-25 02:17:23    阅读次数:187
18. Word Ladder && Word Ladder II
我的方案中,使用两个 hash_set 分别存储当前层和下一层结点,另一个 hash_set存储之前遍历过的结点。 思想: 在 I 的基础之上, 加入 hash_map 记下每条边, 从 end 开始搜索,建立以 start 为源点,end 为汇点的图,然后从 start 开始深搜即可。
分类:其他好文   时间:2014-08-25 02:15:43    阅读次数:264
14. Reverse Linked List II
总结:其实就是反转链表。不过是反转中间一部分。要注意的是保存第一个结点的前继的指针; 若第一个结点是头结点,注意反转子串的尾结点变为头结点。
分类:其他好文   时间:2014-08-25 01:07:43    阅读次数:198
[LeetCode] Combination Sum II (递归)
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Each numb...
分类:其他好文   时间:2014-08-24 23:29:33    阅读次数:176
Codeforces 460 D. Little Victor and Set
暴力+构造 If r?-?l?≤?4 we can all subsets of size not greater than k. Else, if k?=?1, obviously that answer is l. If k?=?2, answer is 1, because xor of numbers 2x and 2x?+?1 equls 1. If k?≥...
分类:其他好文   时间:2014-08-24 11:40:22    阅读次数:233
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!