码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
Combination Sum
题目 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C un...
分类:其他好文   时间:2014-06-15 20:00:18    阅读次数:185
LeetCode:Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 ...
分类:其他好文   时间:2014-06-15 19:55:39    阅读次数:191
LeetCode——Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below binary tree and sum ...
分类:其他好文   时间:2014-06-15 19:26:23    阅读次数:207
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 number in C may only be used once in...
分类:其他好文   时间:2014-06-15 19:24:21    阅读次数:229
POJ训练计划1936_All in All(串处理)
POJ训练计划...
分类:其他好文   时间:2014-06-15 17:02:39    阅读次数:175
论C/C++数据在内存中的二进制存放形式
// enter any type data to show Binary.c // 输入任意类型数据转换成二进制 // version: 1.0 // date: 2014.6.12 // BUG提交: yinjunwithu@outlook.com // 缺陷: 请勿使用vc 6.0编译 因为不支持long long及unsigned long long类型 // #define _CRT_...
分类:编程语言   时间:2014-06-15 09:44:48    阅读次数:414
LeetCode:Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below bin...
分类:其他好文   时间:2014-06-15 09:34:35    阅读次数:226
leetcode -day28 Unique Binary Search Trees I II
1、 ?? Unique Binary Search Trees II 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 all 5 uni...
分类:其他好文   时间:2014-06-15 09:09:00    阅读次数:256
[LeetCode] Subsets II [32]
题目 Given a collection of integers that might contain duplicates, S, return all possible subsets. 原题链接(点我) 解题思路 这个题很subsets这个题一样,不过这里允许给出的集合中含有重复元素,对于这个条件之需要加一个判断条件就可以了,其余代码和Subsets都一样。 代码实现.......
分类:其他好文   时间:2014-06-15 08:28:53    阅读次数:166
自定义actionbar
android中的actionbar可提供自定义view,具体是先写好自定义view的布局,然后在代码中获取Actionbar对象,调用 setCustomView方法。 但是这样,它还是会显示前面的LOGO,即使你设置 不显示 LOGO和标题。解决的方法是调用 actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); 具体代码如下...
分类:其他好文   时间:2014-06-14 07:45:30    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!