标签: array, hash-table, union-find
标签: depth-first-search, breadth-first-search, union-find
标签: graph, union-find, depth-first-search