原文:[leetcode]Triangle @ Python

原题地址:https: oj.leetcode.com problems 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 fo ...

2014-06-03 19:36 0 2512 推荐指数:

查看详情

[leetcode]Pascal's Triangle @ Python

原题地址:https://oj.leetcode.com/problems/pascals-triangle/ 题意: Given numRows, generate the first numRows of Pascal's ...

Wed Jun 04 03:49:00 CST 2014 0 2314
[LeetCode] 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 ...

Fri Nov 16 05:03:00 CST 2012 0 2870
Triangle leetcode java

题目: 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 ...

Sun Aug 03 10:34:00 CST 2014 1 4071
[LeetCode] Pascal's Triangle II

Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3,3,1]. Note:Could you optimize your algorithm ...

Tue Nov 13 19:44:00 CST 2012 0 3108
LeetCode】118. Pascal's Triangle

Pascal's Triangle Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return 按定义做。 每一层的第i个位置,等于 ...

Mon Oct 13 06:07:00 CST 2014 0 3492
Pascal's Triangle II Leetcode java

题目: Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your ...

Sun Aug 03 10:59:00 CST 2014 0 2465
[LeetCode] 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 ...

Wed Feb 11 23:14:00 CST 2015 6 12203
[LeetCode] Pascal's Triangle 杨辉三角

Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two ...

Sat Oct 18 12:17:00 CST 2014 2 7486
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM