coding practice - advanced topics
Search
Ctrl + K
# 200 - Number of Islands
這題算是 BFS 跟 DFS 的經典應用題,不過我們也可以練習用 Union Find 來解。
解法一 - Union Find
Previous
# 261 - Graph Valid Tree
Next
Run-Length Encoding
Last updated
4 years ago