码迷,mamicode.com
首页 >  
搜索关键字:depth    ( 1433个结果
[LeetCode] Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2014-07-24 10:06:33    阅读次数:191
C# in Depth Third Edition 学习笔记-- 值类型和引用
I. C#中值类型和引用类型1. 类class 引用类型,结构struct值类型2. 数组是引用类型,即使元素是值类型,int[]是引用类型3. 枚举是值类型enum4. 委托类型delegate是引用类型5. 接口类型interface是引用类型,但可以由值类型实现。II. 值的表达式:表达式“2...
分类:其他好文   时间:2014-07-23 22:12:37    阅读次数:265
Culling & Depth Testing
【Culling & Depth Testing】 Culling is an optimization that does not render polygons facing away from the viewer. All polygons have a front and a back ....
分类:其他好文   时间:2014-07-23 20:41:25    阅读次数:247
[Zz] DX depth buffer
声明:本文完全翻译自DX SDK Documentationdepth buffer,通常被称为z-buffer或者w-buffer,是设备的一个属性,用来存储深度信息,被D3D使用。当D3D渲染一个场景到target surface的时候,它会使用depth-buffer surface上的数据,...
分类:其他好文   时间:2014-07-22 22:50:35    阅读次数:211
LeetCode:Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-07-21 09:07:24    阅读次数:207
【LeetCode】【Python题解】Single Number & Maximum Depth of Binary Tree
今天做了三道LeetCode上的简单题目,每道题都是用c++和Python两种语言写的,因为c++版的代码网上比较多,所以就只分享一下Python的代码吧,刚学完Python的基本语法,做做LeetCode的题目还是不错的,对以后找工作面试也有帮助! 刚开始就从AC率最高的入手吧! 1.Given an array of integers, every element appe...
分类:编程语言   时间:2014-07-20 15:27:41    阅读次数:262
使用 NGUI 实现头顶文字及血条
以下是 NGUI HUD Text 实现的:基本原理:1. 在角色头顶绑一个点 Pivot,用于对齐2. 因为界面总是覆盖在人物头顶信息的上面,所以将 UIRoot 分为2个 Panel:1) GUI,用于画界面,Depth 较大 2) HUDPanel,用于画人物头顶文字及血条,Depth 较小(...
分类:其他好文   时间:2014-07-19 21:03:29    阅读次数:234
leetcode中关于树的dfs算法题
Validate Binary Search TreeRecover Binary Search TreeSymmetric TreeSame TreeMaximum Depth of Binary TreeConstruct Binary Tree from Preorder and Inorde...
分类:其他好文   时间:2014-07-19 20:17:42    阅读次数:268
【leetcode】Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2014-07-18 09:33:38    阅读次数:194
【leetcode刷题笔记】Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-07-17 23:27:12    阅读次数:216
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!