Question: Subquadratic Time Alignment [ 1 5 + 5 points ] a . In class we learned how to solve the block alignment problem in time

Subquadratic Time Alignment [15+5 points]
a. In class we learned how to solve the block alignment problem in time O(n2logn)
using the Four Russians Technique. Specifically, in the case of an alphabet of
||=4 letters, we pre-computed all pairwise alignments of all strings of length
t=log2n4. Protein sequences have an alphabet of ||=20 letters. How
should we choose length t to achieve the time bound of O(n2logn) if ||=20?
Motivate your answer. [5 points]
b. How should we choose length t if the size k=|\Sigma | of the alphabet is not
constant? What is the running time? Motivate your answer. [5 points]
Bonus: +5 points if you explain for what values of k this technique leads
to: (i) an asymptotic speedup, (ii) the same running time as regular dynamic
programming and (iii) an asymptotic slowdown.
Subquadratic Time Alignment [ 1 5 + 5 points ] a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!