码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
three.js 源码注释(二十四)Core/Face4.js
Face3对象的构造函数.用来在四维空间内通过参数a,b,c,d, normal, color, materialIndex创建一个四角面对象.Face4对象的功能函数采用 定义构造的函数原型对象来实现. NOTE:Face4方法已经删除,使用Face3替代,这里保留为了向下兼容. 用法: var a=0,b=1,c=2,d=3;var normal = new THREE.Vector3( 0, 1, 0 ); var color = new THREE.Color( 0xffaa00 ); va...
分类:Web程序   时间:2014-11-25 18:36:14    阅读次数:272
Single Number II
Single Number IIGiven an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a lin...
分类:其他好文   时间:2014-11-25 16:19:11    阅读次数:142
[LeetCode] Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-25 16:00:36    阅读次数:165
Leetcode Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-11-25 14:21:59    阅读次数:183
Leetcode Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-11-25 14:14:58    阅读次数:149
3Sum
Given an arraySofnintegers, are there elementsa,b,cinSsuch thata+b+c= 0? Find all unique triplets in the array which gives the sum of zero.Note:Elemen...
分类:其他好文   时间:2014-11-25 12:21:50    阅读次数:176
分治算法Divide-and-Conquer概述
设计过程分为三个阶段          Divide: 整个问题划分为多个子问题  T(n)=D(n)          Conquer:求解各子问题(递归调用正设计的算法)  T(n)=aT(n/b)          Combine:合并子问题的解, 形成原始问题的解T(n)=C(n) Note: 将规模为n的问题划分为a个子问题,每个问题的大小为n/b。(b可能不等于a!) 时间复...
分类:编程语言   时间:2014-11-25 10:46:48    阅读次数:222
Codeforces Round #278 (Div. 2) b
/** ?* ?*?@brief?Codeforces?Round?#278?(Div.?2)?b ?*?@file?b.c ?*?@author?mianma ?*?@created?2014/11/24?17:52 ?*?@edited??2014/11/18?17:52 ?*?@type?brute ?*? ?*?@note...
分类:其他好文   时间:2014-11-24 22:49:58    阅读次数:279
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-11-24 22:22:57    阅读次数:218
Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is...
分类:其他好文   时间:2014-11-24 19:21:31    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!