码迷,mamicode.com
首页 >  
搜索关键字:subsets ii    ( 6815个结果
Integer to Roman
问题:将数字转化为罗马数字分析:将所有的数字打表出来class Solution {public: string intToRoman(int num) { char c[10][10][10]={{"0","I","II","III","IV","V","VI","VII","...
分类:其他好文   时间:2014-08-01 10:32:21    阅读次数:215
Unique Binary Search Trees II leetcode java
题目: Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example,Given n = 3, your program should return....
分类:编程语言   时间:2014-08-01 04:53:31    阅读次数:279
nios ii 建立库文件,并在新工程中被调用
选择Nios II Library选择location,这样的话库文件时独立的,而如果选择 Make library depend on a BSP的话会依赖BSP,如果BSP被删除了那新工程编译时会报错。添加c源文件和h头文件然后build project然后新建工程:file->Nios II ...
分类:移动开发   时间:2014-07-31 16:17:47    阅读次数:342
LeetCode--Single Number II
思路:统计每位出现的次数,mod3;对于k同样适用 1 class Solution { 2 public: 3 int singleNumber(int A[], int n) { 4 int a[32] = {0}; 5 int i = 0; 6 ...
分类:其他好文   时间:2014-07-31 13:14:46    阅读次数:140
quartus II Warning 好的时序是设计出来的,不是约束出来的
Warning (15714): Some pins have incomplete I/O assignments. Refer to the I/O Assignment Warnings report for details解释:后续高级的芯片的 drive strength 和 slew r...
分类:其他好文   时间:2014-07-31 12:22:26    阅读次数:320
nios ii software develop handbook
1.The Nios II processor’s JTAG debug module provides a single, consistent method to connect to the processor using a JTAG download cable.2.Altera BSPs...
分类:移动开发   时间:2014-07-31 09:41:55    阅读次数:285
Subset II leetcode java
题目:Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending o....
分类:编程语言   时间:2014-07-31 09:38:05    阅读次数:341
LeetCode "Reverse Linked List II"
Just corner case..class Solution {public: ListNode *reverseBetween(ListNode *head, int m, int n) { if(m == n) return head; ListNode *...
分类:其他好文   时间:2014-07-31 09:34:05    阅读次数:245
Subset leetcode java
题目: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 n....
分类:编程语言   时间:2014-07-31 05:22:45    阅读次数:286
LeetCode "Combination Sum II"
The only difference with version I is: one number can only be used once:class Solution {public: vector > ret; struct Rec { Rec() : sum...
分类:其他好文   时间:2014-07-31 05:22:25    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!