Union-Find: This is a data structure used to track a set of elements partitioned into a number of disjoint (non-overlapping) subsets. It provides operations for merging sets ("union") and finding which set an element belongs to ("find").
Path Compression: Path compression is an optimization technique used in union-find algorithms to make the "find" operation more efficient. When finding the root of an element (representative of its set), path compression involves making each node on the path from the queried element to its root point directly to the root, effectively shortening the path and reducing future lookup time.
Nesta página do site você pode assistir ao vídeo on-line Disjoin set Union path Compression Code duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Mushfiq Maher 30 Abril 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 13 vezes e gostou 0 espectadores. Boa visualização!