Question: Minimum cover - Given two strings A and B a minimum cover of A by B is a decomposition of A into substringgs of B

Minimum cover - Given two strings A and B a minimum cover of A by B is a decomposition of A into substringgs of B such that k is minimum, here k is the number of substrings of B that covers the entire string A and k has to be minimal. In other words , minimum cover of A by B expresses string A as a concatenation of the fewest possible substrings of B, where these substrings can come from anywhere in B. if length of string A is m and of strign B is n, find the minimum cover in O( (m+n) log(m+n)) time. Use suffix array and its lcp array.

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!