Suppose you are given two sequences (or lists), l1 and l2, and now you would like to compare how much l1 is different from l2. How would you compare them, quantitatively? There are many metrics to compare two sequences like l1 and l2, though the focuses are not always the…