function Shape(){
this.name = 'shape';
this.toString = function(){
return this.name;
}
}
function TwoDShape(){
this.name = '2D shape';
}
function Triangle(side,height){
this.name = 'Triangle';...
分类:
编程语言 时间:
2015-01-14 22:56:01
阅读次数:
285
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2015-01-14 22:53:47
阅读次数:
153
span.triangle { width: 0; height: 0; display: inline-block; border-top: 50px solid #e50303; border-right: 50px solid black;}
分类:
Web程序 时间:
2015-01-14 19:40:40
阅读次数:
184
#include #include using namespace cv;using namespace std;typedef struct _TRIANGLE_DESC_{ Point pt1, pt2, pt3; _TRIANGLE_DESC_(const Point _pt1, const ...
分类:
编程语言 时间:
2015-01-12 16:00:16
阅读次数:
217
题目Pascal's Triangle通过率30.7%难度EasyGivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], ...
分类:
其他好文 时间:
2015-01-10 11:14:01
阅读次数:
207
题目Pascal's Triangle II通过率29.8%难度EasyGiven an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you o...
分类:
其他好文 时间:
2015-01-10 11:09:53
阅读次数:
169
题目:
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4...
分类:
编程语言 时间:
2015-01-09 14:23:26
阅读次数:
207
TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given...
分类:
其他好文 时间:
2015-01-08 13:17:54
阅读次数:
179