Disjoint Sets

  Рет қаралды 2,092

Mary Elaine Califf

Mary Elaine Califf

Күн бұрын

An introduction to the disjoint set data structure, including arbitrary unions, union by size, and union by height.
Generating Random Mazes - • Creating Random Mazes ...
Kruskal's Algorithm for Finding Minimum Spanning Trees - • Kruskal's Algorithm fo...
Timestamps
------------------------------------------------
0:00​ - What we use Disjoint Sets for
0:38 - Important Assumptions
1:01​ - Basic Idea to Implement a Disjoint Set
1:54​ - Find Operation
2:14 - Example: Finding the Set Label for an Item
3:17​ - Union Operation
3:55​ - Example: Unioning Two Sets (Arbitrary)
4:24​ - Importance of Set Roots in Unions
5:38​ - Problem with Arbitrary Unions
6:26​ - Solving the Arbitrary Union Problem (With different Unions)
7:03​ - Solution: Union By Size
7:56​ - Example: Union By Size
9:44​ - Evaluation: Union By Size
10:26 - Solution: Union By Height
11:20 - Example: Union By Height
13:03 - Evaluation: Union By Height

Пікірлер: 6
@paradiseexpress3639
@paradiseexpress3639 Жыл бұрын
Your channel is amazing. Watched this video twice because i forgot the first time :) It helped with today's LC daily challenge
@maryelainecaliff
@maryelainecaliff Жыл бұрын
Thanks for the compliment. I'm glad you found it helpful.
@YT.Nikolay
@YT.Nikolay Жыл бұрын
Thanks for the video, found a pearl in the youtube ocean :)
@maryelainecaliff
@maryelainecaliff Жыл бұрын
I appreciate the kind words, and I'm glad you found the video helpful.
@user-xe5pk5pn2u
@user-xe5pk5pn2u 3 ай бұрын
Thanks, this video helped a lot.
@maryelainecaliff
@maryelainecaliff 2 ай бұрын
I'm glad you found it helpful
Path Compression in Disjoint Sets
4:54
Mary Elaine Califf
Рет қаралды 1,7 М.
Collision Handling in Hash Tables
16:44
Mary Elaine Califf
Рет қаралды 6 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 18 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Function Activation Records
13:08
Mary Elaine Califf
Рет қаралды 4,1 М.
Disjoint Sets using union by rank and path compression Graph Algorithm
17:49
Tushar Roy - Coding Made Simple
Рет қаралды 311 М.
Creating Random Mazes Using Disjoint Sets
15:06
Mary Elaine Califf
Рет қаралды 1,1 М.
Disjoint Sets - Union Operation
13:18
zooce
Рет қаралды 37 М.
Disjoint Set | UNION and FIND
26:43
Techdose
Рет қаралды 110 М.
Union Find - Union and Find Operations
10:53
WilliamFiset
Рет қаралды 246 М.
Rehashing
4:59
Mary Elaine Califf
Рет қаралды 3,4 М.
G-46. Disjoint Set | Union by Rank | Union by Size | Path Compression
42:15
Improving Quicksort with Median of 3 and Cutoffs
10:23
Mary Elaine Califf
Рет қаралды 34 М.
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 62 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 7 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 7 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,3 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 505 М.