Island Matrix

Union Find

Largest Component Size by Common Factor

https://leetcode.com/problems/largest-component-size-by-common-factor/

Max Area of Island

https://leetcode.com/problems/max-area-of-island/

Solutions

  • dfs
  • bfs
  • union find

Making a large Island

https://leetcode.com/problems/making-a-large-island/