以前用过css3画过下拉菜单里文字后面的“下拉三角符号”,类似于下面这张图片文字后面三角符号的效果下面是一个很简单的向上的三角形代码#triangle-up { width: 0; height: 0; border-left: 50px solid transparent; ...
分类:
Web程序 时间:
2015-12-08 20:06:36
阅读次数:
176
1 public class Solution { 2 /** 3 * @param triangle: a list of lists of integers. 4 * @return: An integer, minimum path sum. 5 */ ...
分类:
其他好文 时间:
2015-12-08 18:30:12
阅读次数:
99
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 fol...
分类:
其他好文 时间:
2015-12-02 16:16:37
阅读次数:
152
Number TrianglesConsider the number triangle shown below. Write a program that calculates the highest sum of numbers that can be passed on a route tha...
分类:
其他好文 时间:
2015-11-27 19:28:57
阅读次数:
124
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 fol...
分类:
其他好文 时间:
2015-11-23 23:33:19
阅读次数:
125
DescriptionThere is a right triangle with legs of lengthaandb. Your task is to determine whether it is possible to locate the triangle on the plane in...
分类:
其他好文 时间:
2015-11-20 22:55:48
阅读次数:
162
DescriptionWPH has a triangle whose three edges are of length a, b, c.He has super power to enlarge the edges, but the total length that was enlarged ...
分类:
其他好文 时间:
2015-11-02 15:16:40
阅读次数:
214
本题的大意是,给定一个三角形,求得和最小的路径。每层只能选一个整数,上一层和下一层的整数必须是相邻的。...
分类:
其他好文 时间:
2015-11-02 00:23:51
阅读次数:
189
LeetCode -- Pascal's Triangle II...
分类:
其他好文 时间:
2015-10-31 11:37:30
阅读次数:
162
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].还是帕斯卡三角,只不过这里指定的是某一个特定的层,然后直接返回,这个就可以使用从后往前更新数组的方法,其...
分类:
其他好文 时间:
2015-10-29 00:18:55
阅读次数:
250