摘要:
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: 此题考查数学和数组的结合,直接上代码: public class Solu 阅读全文
posted @ 2017-01-30 10:26
CodesKiller
阅读(117)
评论(0)
推荐(0)
摘要:
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any leadin 阅读全文
posted @ 2017-01-30 07:44
CodesKiller
阅读(140)
评论(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 @ 2017-01-30 07:36
CodesKiller
阅读(145)
评论(0)
推荐(0)
摘要:
There are a row of n houses, each house can be painted with one of the k colors. The cost of painting each house with a certain color is different. Yo 阅读全文
posted @ 2017-01-30 06:19
CodesKiller
阅读(203)
评论(0)
推荐(0)
摘要:
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai 阅读全文
posted @ 2017-01-30 05:21
CodesKiller
阅读(138)
评论(0)
推荐(0)
摘要:
The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the "root." Besides the root, each hou 阅读全文
posted @ 2017-01-30 05:02
CodesKiller
阅读(117)
评论(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 @ 2017-01-30 03:12
CodesKiller
阅读(154)
评论(0)
推荐(0)
浙公网安备 33010602011771号