原文:[LeetCode] 256. Paint House 粉刷房子

There are a row ofnhouses, 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 hou ...

2016-03-25 14:30 7 13788 推薦指數:

查看詳情

[LeetCode] Paint House

Problem Description: 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 ...

Fri Aug 14 22:44:00 CST 2015 0 2764
[LeetCode] Paint House I & II

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 ...

Sun Sep 06 18:56:00 CST 2015 0 2002
[LeetCode] 276. Paint Fence 粉刷籬笆

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 ...

Tue Mar 01 23:31:00 CST 2016 2 12780
[LeetCode#265] Paint House II

Problem: 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 ...

Sun Sep 13 14:20:00 CST 2015 0 2753
[LeetCode] House Robber II

After robbing those houses on that street, the thief has found himself a new place for his thievery ...

Wed May 20 18:43:00 CST 2015 2 3247
[LeetCode] Paint Fence

Problem Description: 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 ...

Sat Sep 05 20:24:00 CST 2015 0 3980
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM