leetcode 605[easy]---Can Place Flowers

难度:easy Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - they would compete for water and both would di
相关文章
相关标签/搜索