摘要:
Problem : Say 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 t 阅读全文
posted @ 2020-02-04 20:47
littledy
阅读(95)
评论(0)
推荐(0)
摘要:
Problem : 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 Pasc 阅读全文
posted @ 2020-02-04 20:05
littledy
阅读(82)
评论(0)
推荐(0)
摘要:
Problem : 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 t 阅读全文
posted @ 2020-02-04 11:22
littledy
阅读(94)
评论(0)
推荐(0)
摘要:
Problem : Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 思路 : 首先弄清楚IP地址的定义。 Defin 阅读全文
posted @ 2020-02-04 10:37
littledy
阅读(90)
评论(0)
推荐(0)

浙公网安备 33010602011771号