Understanding Union Find from Robert Endre Tarjan

Union-Find (or Disjoint Set) is a data structure used to manage disjoint sets of elements through two primary operations: find(x) and union(A, B). The find(x) operation determines which set the element xx belongs to, while the union(A, B, C) operation merges the sets AA and BB into a single set CC. In this article, we will explore Robert Endre Tarjan’s work on determining the upper bound of the time complexity for these Union-Find operations.

April 22, 2024