摘要:
Given two integers n and k, find how many different arrays consist of numbers from 1 to n such that there are exactly k inverse pairs. We define an in 阅读全文
posted @ 2017-06-25 12:47
hellowOOOrld
阅读(664)
评论(0)
推荐(0)
摘要:
There are n different online courses numbered from 1 to n. Each course has some duration(course length) t and closed on dth day. A course should be ta 阅读全文
posted @ 2017-06-25 12:42
hellowOOOrld
阅读(613)
评论(0)
推荐(0)
摘要:
Given an integer array, find three numbers whose product is maximum and output the maximum product. Example 1: Example 2: Note: 思路: 首先排序,然后分别判断数组元素最大值 阅读全文
posted @ 2017-06-25 11:16
hellowOOOrld
阅读(1926)
评论(2)
推荐(0)
摘要:
You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee 阅读全文
posted @ 2017-06-25 08:54
hellowOOOrld
阅读(211)
评论(0)
推荐(0)


浙公网安备 33010602011771号