LeetCode75-547-Number-of-Province
🧠 Summary of Thoughts
Review Foundation 1 (CSE 2321), Adjacency Matrix is a method to interpret graph.
For example: isConnected[i][j]. If 1, then i and j has edge to connect. Else (0), no edge between i and j.
✅ Code(Java)
1 | |
LeetCode75-547-Number-of-Province
https://powersixxx.github.io/leetcode-blog/2026/04/07/LeetCode75-547-Number-of-Province/