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
Get step-by-step solutions from verified subject matter experts
