- 博客(3)
- 收藏
- 关注
原创 121. Best Time to Buy and Sell Stock python
121. Best Time to Buy and Sell StockSay you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (i.e., buy...
2018-07-25 20:12:36 311
原创 119. Pascal's Triangle II
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle.Note that the row index starts from 0.In Pascal's triangle, each number is the sum of the two numbers ...
2018-07-24 21:35:34 182
原创 118. Pascal's Triangle python
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 numbers directly above it.Input: 5Output:[ [1...
2018-07-23 21:11:50 375
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人