Chapter 6: Q28E (page 198)
Local sequence alignment. Often two DNA sequences are significantly different, but contain regions that are very similar and are highly conserved. Design an algorithm that takes an input two strings and and a scoring matrix (as defined in Exercise 6.26), and outputs substrings of x and y respectively, that have the highest-scoring alignment over all pairs of such substrings. Your algorithm should take time .
Short Answer
The complexity of the program is