摘要:
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 @ 2016-08-12 14:54
LiBlog
阅读(197)
评论(0)
推荐(0)
摘要:
Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to find the number of connected 阅读全文
posted @ 2016-08-12 13:45
LiBlog
阅读(191)
评论(0)
推荐(0)
摘要:
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro 阅读全文
posted @ 2016-08-12 12:27
LiBlog
阅读(126)
评论(0)
推荐(0)
摘要:
Given an array nums and a target value k, find the maximum length of a subarray that sums to k. If there isn't one, return 0 instead. Example 1: Given 阅读全文
posted @ 2016-08-12 12:24
LiBlog
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号