Index Of Ek Chalis Ki Last Local Updated Here
# Update bacchon ka index for child in node.children: self.dfs(child) node.index = max(node.index, child.index + 1)
# Update bacchon ka index for child in node.children: self.dfs(child) node.index = max(node.index, child.index + 1)