摘要:
题目: Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, given n = 阅读全文
posted @ 2015-12-10 11:43
YRB
阅读(2459)
评论(0)
推荐(0)
摘要:
题目: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quali 阅读全文
posted @ 2015-12-10 05:45
YRB
阅读(294)
评论(0)
推荐(0)
摘要:
题目: Suppose you are at a party with n people (labeled from 0 to n - 1) and among them, there may exist one celebrity. The definition of a celebrity is 阅读全文
posted @ 2015-12-10 05:37
YRB
阅读(1832)
评论(0)
推荐(1)
摘要:
题目: There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjac 阅读全文
posted @ 2015-12-10 01:35
YRB
阅读(882)
评论(0)
推荐(0)

浙公网安备 33010602011771号