Data structure – Part 2: Priority queues and Disjoint set
medium.com