<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cindychen0204</author_name>
  <author_url>https://blog.hatena.ne.jp/cindychen0204/</author_url>
  <blog_title>Cindy's Blog</blog_title>
  <blog_url>https://cindychen0204.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>https://leetcode.com/problems/can-place-flowers/ class Solution { public boolean canPlaceFlowers(int[] flowerbed, int n) { //max: 0 adjacent 1 //dont create like this: [1, 0, 0, 1, 0, 0, 1] and do like this [1,0,1,0,0,0,1], then we can put one more flower in the flower bed if (flowerbed.length == 1)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcindychen0204.hatenablog.com%2Fentry%2F2022%2F10%2F07%2FLeetCode_605._Can_Place_Flowers&quot; title=&quot;LeetCode 605. Can Place Flowers - Cindy&amp;#39;s Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-07 17:20:50</published>
  <title>LeetCode 605. Can Place Flowers</title>
  <type>rich</type>
  <url>https://cindychen0204.hatenablog.com/entry/2022/10/07/LeetCode_605._Can_Place_Flowers</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
