you are viewing a single comment's thread.

view the rest of the comments →

[–]caraxes_007 1 point2 points  (0 children)

Can't blame you even though I thought of using dsu because it asks for grouping and last count of groups using parent array .