here we have to prall sub - sequences lexicographically , that ' s ▁ why ▁ we ▁ start ▁ from ▁ ' a ' to ' z ' if this character is  present in both of them then append it in data[] and same  remaining part
for ch in range ( ord ( ' a ' ) , ord ( ' z ' ) + 1 ) : NEW_LINE