title |
date |
draft |
description |
tags |
categories |
series |
favorite |
disable_feed |
Union Find |
2024-06-24T21:07:49+01:00 |
false |
My favorite data structure |
algorithms |
data structures |
python |
|
|
Lesser known algorithms and data structures |
|
false |
false |
To kickoff the [series] of posts about criminally underrated algorithms and data
structures, I will be talking about my favorite one: the Disjoint Set.
Also known as the Union-Find data structure, so named because of its two main
operations: ds.union(lhs, rhs)
and ds.find(elem)
.
[series]: {{< ref "/series/lesser-known-algorithms-and-data-structures/">}}