2000 character limit reached
Fast Algorithms for Exact String Matching
Published 30 Sep 2015 in cs.DS | (1509.09228v1)
Abstract: Given a pattern string of length and a query string of length , where the characters of and are drawn from an alphabet of size , the {\em exact string matching} problem consists of finding all occurrences of in . For this problem, we present algorithms that in time pre-process to essentially identify , a rarely occurring substring of , and then use it to find occurrences of in efficiently. Our algorithms require a worst case search time of , and expected search time of , where is at least (i.e. the number of distinct characters in ), and for most pattern strings it is observed to be .
Paper Prompts
Sign up for free to create and run prompts on this paper.