Question 19
Based on the above data, answer the given subquestions.
Observe that for a given , the length of the corresponding superstring , which is obtained by writing the input strings in the order and merging adjacent strings, is given by:
The compression of is the sum of the overlaps of adjacent strings in the permutation . Finding a shortest superstring is equivalent to: