Pergunta de entrevista da empresa Uber

1.Related to union-find data structure difficult