Question: [31] Let I be an index structure supporting text search in O(l(P))-bit probes to find pattern P in text T as a substring. (a) If

[31] Let I be an index structure supporting text search in O(l(P))-bit probes to find pattern P in text T as a substring.

(a) If each query requires the location of P, then the size of I is Ω(l(T )).

(b) Even if each query asks only whether a substring P is in T , the size of I is still Ω(l(T )).

Comments. Item

(a) is by E.D. Demaine and A. Lopez-Ortiz [J. Alg., 48:1(2003), 2–15]. Item

(b) is due to M. Li and P.M.B. Vit´anyi [Unpublished, 2006]. Hint for Item (b): use Lemma 6.9.2.

An upper bound of Item

(b) is O(w log N) bits for w query words, by M.L. Fredman, J.

Koml´os, and E. Szemer´edi [J. Assoc. Comp. Mach. 31:3(1984), 538–544].

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 Elementary Probability For Applications Questions!