MCQOPTIONS
Saved Bookmarks
| 1. |
What is the worst case time complexity of KMP algorithm for pattern searching (m = length of text, n = length of pattern)? |
| A. | o(n) |
| B. | o(n*m) |
| C. | o(m) |
| D. | o(log n) |
| Answer» D. o(log n) | |