题目地址
LeetCode#611 Valid Triangle Number
题目描述
Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle.
你想开发游戏还是改变世界?
LeetCode#611 Valid Triangle Number
Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangles if we take them as side lengths of a triangle.
LeetCode#671 Second Minimum Node In A Binary Tree
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two
or zero
sub-node. If the node has two sub-nodes, then this node’s value is the smaller value among its two sub-nodes.
Tutorial 14: Distance Normal Mapping
本篇文章中我们介绍基于观察点(摄像机)距离不同进行不同法线贴图的技术,本篇代码基于上一篇,仅有少量改动,无新增类。