650. Can Plae Flowers(不相邻放置)

题目 我的代码 class Solution(object): def canPlaceFlowers(self, v, n): """ :type flowerbed: List[int] :type n: int :rtype: bool """ if len(v)==1: if n==0: ret
相关文章
相关标签/搜索