2
def accountsMerge(self, accounts: List[List[str]]) -> List[List[str]]:6
for i in range(len(accounts)):7
temp = list(set(accounts[i][1:]))9
temp = [accounts[i][0]] + temp12
for j in range(len(accounts[i:])):16
if accounts[i][0] != accounts[s][0]:18
temp3 = list(set(accounts[s][1:]))19
uni = list(set(temp[1:]) | set(temp3))20
if len(uni) < len(temp[1:]) + len(temp3):21
temp1 = list(set(temp[1:]) | set(temp3))22
temp = [temp[0]] + temp126
temp = [temp[0]] + temp030
merged = merge(accounts)31
while merge(merged) != merged:32
merged = merge(merged)