码迷,mamicode.com
首页 >  
搜索关键字:pascals triangle    ( 1342个结果
Leetcode 119 Pascal's Triangle II
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].也可以和 Leetcode 118 Pascal's TriangleII 一样构造最后返回最后一行。v...
分类:其他好文   时间:2015-06-21 11:48:52    阅读次数:108
Leetcode 120 Triangle
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-06-21 11:46:45    阅读次数:81
Leetcode 118 Pascal's Triangle
GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]...
分类:其他好文   时间:2015-06-21 10:36:06    阅读次数:121
Triangle
Description: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, g...
分类:其他好文   时间:2015-06-20 17:02:52    阅读次数:92
Pascal's Triangle
Description:GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1],...
分类:其他好文   时间:2015-06-20 17:01:48    阅读次数:99
Pascal's Triangle II
Description:Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm t...
分类:其他好文   时间:2015-06-20 16:56:15    阅读次数:113
LeetCode——Pascal's Triangle
Description:Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5, Return[ [1], [1,1], [1,2,1], [1,3...
分类:其他好文   时间:2015-06-19 23:05:50    阅读次数:183
LeetCode——Pascal's Triangle II
Description:Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3, Return [1,3,3,1].public class Solution { public...
分类:其他好文   时间:2015-06-19 22:58:21    阅读次数:172
leetcode - Pascal's Triangle
leetcode - Pascal's TriangleGivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2...
分类:其他好文   时间:2015-06-19 18:12:49    阅读次数:128
纯CSS绘制三角形
CSS 三角形绘制方法代码如下:#triangle-up {width: 0;height: 0;border-left: 50px solid transparent;border-right: 50px solid transparent;border-bottom: 100px solid r...
分类:Web程序   时间:2015-06-18 14:57:19    阅读次数:131
1342条   上一页 1 ... 80 81 82 83 84 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!