Index Of Ek — Chalis Ki Last Local Updated

def last_local_update(self): for node in self.nodes: if node.parent is None: self.dfs(node)