KMP Algorithm
1. Which of the following is the best description of a substring?
2. Which of the following is not a prefix of the string "algorithm"?
3. Which of the following is a suffix of the string "vlabs"?
4. In the KMP (Knuth-Morris-Pratt) algorithm, what is the purpose of the prefix table (also called LPS array)?
5. What is the time complexity of the KMP string matching algorithm for searching a pattern of length m in a text of length n?