[Leetcode] Paint Fence 栅栏涂色
Paint FenceThere 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 fence posts have the same co
业界
2016年07月13日