GERALD07 - Editorial

adding using dsu is possible…but how to roll_back or remove an edge from it… ? can anyone please explain this?

i got it!! in dsu whenever we are adding a node and if the parent of any node changes then we can store it in a vector and then redo those steps one by one from last(cost me a few WA) :slight_smile: