摘要:
You are given two linked lists representing two non-negative numbers. The most significant digit comes first and each of their nodes contain a single 阅读全文
posted @ 2016-11-28 05:56
微微程序媛
阅读(272)
评论(0)
推荐(0)
摘要:
Note: This is an extension of House Robber. After robbing those houses on that street, the thief has found himself a new place for his thievery so tha 阅读全文
posted @ 2016-11-28 01:28
微微程序媛
阅读(176)
评论(0)
推荐(0)
摘要:
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo 阅读全文
posted @ 2016-11-28 01:01
微微程序媛
阅读(133)
评论(0)
推荐(0)
摘要:
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 adjacent 阅读全文
posted @ 2016-11-28 00:49
微微程序媛
阅读(374)
评论(0)
推荐(0)
摘要:
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is: 阅读全文
posted @ 2016-11-28 00:38
微微程序媛
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号