[LintCode] Paint House 粉刷房子

  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 certain color is different. You have to paint all the
相关文章
相关标签/搜索