This chapter deals with topics related to string processing. Section 14.1 presents the trie structure which maintains a set of strings. After this, dynamic programming algorithms for determining longest common subsequences and edit distances are discussed. Section 14.2 discusses the string hashing technique which is a general tool for creating efficient string algorithms. The idea is to compare hash values of strings instead of their characters, which allows us to compare strings in constant time. Section 14.3 introduces the Z-algorithm which determines for each string position the longest substring which is also a prefix of the string. The
CITATION STYLE
Laaksonen, A. (2017). String Algorithms (pp. 225–237). https://doi.org/10.1007/978-3-319-72547-5_14
Mendeley helps you to discover research relevant for your work.