July 2018
Beginner
202 pages
5h 4m
English
The string matching problem has two inputs, as follows:
The elements of T and P are characters from the same finite alphabet (usually called ∑).
For instance, we may be searching in binary strings, in which case our alphabet is {0, 1}, or we may be searching in strings of lowercase letters, in which case our alphabet is {a, b… z}.
The following diagram represents this terminology:

The character arrays P and T are usually called "strings of characters". We're ...
Read now
Unlock full access