Skip to content

Commit f39bf68

Browse files
committed
Update CanPlaceFlowers.java
1 parent c23d712 commit f39bf68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/leetcode/solution/array/CanPlaceFlowers.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
/**
44
* 605. Can Place Flowers
5-
* <p>
6-
* 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.
7-
* <p>
8-
* Given an integer array flowerbed containing 0's and 1's, where 0 means empty and 1 means not empty, and an integer n, return if n new flowers can be planted in the flowerbed without violating the no-adjacent-flowers rule.
95
*/
106
public class CanPlaceFlowers {
117

0 commit comments

Comments
 (0)