Microsoft interview question

Disjoint set union strivers question