<?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>UnionFind island count direction https://leetcode.com/problems/number-of-islands/ class Solution { public int numIslands(char[][] grid) { int rows = grid.length; int cols = grid[0].length; int countIslands = 0; int[][] directions = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}}; UnionFind uf = new UnionFind(row…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcindychen0204.hatenablog.com%2Fentry%2F2022%2F10%2F11%2FLeetCode_200._Number_of_Islands&quot; title=&quot;LeetCode 200. Number of Islands - 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-11 23:22:47</published>
  <title>LeetCode 200. Number of Islands</title>
  <type>rich</type>
  <url>https://cindychen0204.hatenablog.com/entry/2022/10/11/LeetCode_200._Number_of_Islands</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
