[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
相關文章
相關標籤/搜索