Question: (a) What is the bruteforce runtime for creating a BWT? (b)Show that BWT[i] = T[SA[i] - 1], where T is the input string, BWT[i] is

(a) What is the bruteforce runtime for creating a BWT?

(b)Show that BWT[i] = T[SA[i] - 1], where T is the input string, BWT[i] is the character at position i in the BWT string for T, and SA[i] is the ith entry in the suffix array for T.

Note this shows how to compute the BWT from the SA. What about the other direction? If we have the BWT, what else would we need to compute the SA, and in linear time?

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 Databases Questions!