DSU problem
Can i update the level of a vertice after using DSU and join 2 components in O (log) or O (log^2)
Leetcode Weekly 498 Solution Discussion