码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
leetcode Subsets
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 not co...
分类:其他好文   时间:2014-11-18 06:59:23    阅读次数:187
Single Number
Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runti...
分类:其他好文   时间:2014-11-17 22:27:14    阅读次数:249
[LeetCode]Binary Tree Inorder Traversal
【题目】 Given a binary tree, return the inorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,3,2]. Note: Recursi...
分类:其他好文   时间:2014-11-17 17:52:41    阅读次数:191
leetcode[78] Subsets
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 not co...
分类:其他好文   时间:2014-11-16 22:52:55    阅读次数:244
three.js 源码注释(十二)Math/Box3.js
Box3对象的构造函数.用来在三维空间内创建一个立方体边界对象.Box3对象的功能函数采用 定义构造的函数原型对象来实现. NOTE:如果没有参数min,max将立方体边界初始化为Infinity,无穷大 用法: var min = new Vector3(0,0,0),max = new Vector3(1,1,1); var box = new Box3(min,max); 通过两个Vector3(三维向量)min,max创建一个立方体边界对象. Box3...
分类:Web程序   时间:2014-11-16 17:25:47    阅读次数:281
C++程序运行时间-ZZ
http://www.cnblogs.com/houkai/archive/2013/06/06/3120768.htmlhttp://www.douban.com/note/224133728/----------------------------------------------------...
分类:编程语言   时间:2014-11-16 10:33:05    阅读次数:270
Leetcode-Subsets II
Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset must be in non-descending order...
分类:其他好文   时间:2014-11-16 07:07:37    阅读次数:141
[leetcode]3Sum
问题描述: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a triplet...
分类:其他好文   时间:2014-11-15 23:19:27    阅读次数:347
4Sum
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum of target. Note: Element...
分类:其他好文   时间:2014-11-15 20:17:54    阅读次数:202
3Sum
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: Elements in a triplet (a,b,c...
分类:其他好文   时间:2014-11-15 18:55:06    阅读次数:203
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!