Pergunta de entrevista da empresa Fi Money

The question was around Disjoint set data structure