Depth Bounds Test (DBT)Depth Bounds Test(深度范围检测),是NvdiaGeForce 6系列以后显卡的特性(GPU Programming Guide GeForce 8 and 9 Series),并不是DirectX的特性。所以在例如Nsight和Pix的...
分类:
数据库 时间:
2014-11-13 22:16:03
阅读次数:
356
/**
* Definition for binary tree
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode(int x) { val = x; }
* }
*/
public class Solution {
publi...
分类:
其他好文 时间:
2014-11-12 13:49:37
阅读次数:
169
Java SE 6 provides an in-depth focus on performance, offering expanded tools for managing and monitoring applications and for diagnosing common proble...
分类:
编程语言 时间:
2014-11-10 21:07:56
阅读次数:
358
原文:深入了解Javascript模块化编程
本文译自Ben Cherry的《JavaScript Module Pattern: In-Depth》。虽然个人不太认同js中私有变量存在的必要性,但是本文非常全面地介绍了Javascript中模块化模式地方方面面。我读完之后还是受益匪浅,所以翻译出来...
分类:
编程语言 时间:
2014-11-10 11:37:39
阅读次数:
262
本文译自Ben Cherry的《JavaScript Module Pattern: In-Depth》。虽然个人不太认同js中私有变量存在的必要性,但是本文非常全面地介绍了Javascript中模块化模式地方方面面。我读完之后还是受益匪浅,所以翻译出来希望对各位也有些帮助。
分类:
编程语言 时间:
2014-11-10 09:46:18
阅读次数:
237
题意:找到离根结点最近的叶子结点的那一层(设同一层上的结点与根结点的距离相等),返回它所在的层数。方法有:1、递归深度搜索2、层次搜索方法一:递归(无优化) 1 /** 2 * Definition for binary tree 3 * struct TreeNode { 4 * i...
分类:
其他好文 时间:
2014-11-09 22:12:11
阅读次数:
184
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-11-09 00:55:08
阅读次数:
250
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:
其他好文 时间:
2014-11-07 00:58:54
阅读次数:
259
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-11-06 19:27:14
阅读次数:
227
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-11-06 12:57:50
阅读次数:
176