http://blog.csdn.net/huangcanjun187/article/details/52474365 学习总结自:http://learnopengl.com/#!Getting-started/Hello-Triangle http://learnopengl.com/#!Ge ...
分类:
其他好文 时间:
2017-06-13 11:23:45
阅读次数:
181
https://leetcode.com/problems/pascals-triangle-ii/#/solutions Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, ...
分类:
其他好文 时间:
2017-06-12 22:32:13
阅读次数:
209
Pascal's Triangle Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return 题意实现一个杨辉三角。 这道题只要注意了边界条件应该很好实现 ...
分类:
其他好文 时间:
2017-06-11 23:38:31
阅读次数:
462
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 tak ...
分类:
其他好文 时间:
2017-06-11 13:45:57
阅读次数:
275
这里使用Less来制作带箭头的提示框,跟css比起来。方便多了,能够剩下非常多的代码。别的不扯了。先看看效果吧。 这里我实现了4个方向的提示框,以下是详细实现代码: 提示框代码: <div class="top_prompt"> <div class="top_triangle"> <span cl ...
分类:
其他好文 时间:
2017-06-08 13:06:26
阅读次数:
158
Triangle LOVE Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 3603 Accepted Submission(s): 1416 ...
分类:
其他好文 时间:
2017-06-03 12:52:03
阅读次数:
183
题目:By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. 3 7 4 2 4 ...
分类:
其他好文 时间:
2017-06-03 12:38:57
阅读次数:
200
//找规律 temp.add(res.get(i - 1).get(j) + res.get(i - 1).get(j + 1)) public class PascalsTriangle{ public ArrayList<ArrayList<Integer>> generate(int numR ...
分类:
其他好文 时间:
2017-05-31 19:42:21
阅读次数:
215
//递归 public class PascalsTriangleii{ public ArrayList<Integer> getRow(int rowIndex) { ArrayList<Integer> res = new ArrayList<Integer>(); ArrayList<Int ...
分类:
其他好文 时间:
2017-05-31 19:40:41
阅读次数:
144
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 to us ...
分类:
其他好文 时间:
2017-05-31 11:59:16
阅读次数:
188