A METHOD OF STRING SEARCH

Authors

Abstract

This paper presents a simple algorithm for searching a word or a pattern of a length \(m\) characters in a text of \(n\) characters. It is a straightforward method which begins the searching with the word and the text aligned to the left ends. The number of comparisons to determine that the word is or it is not in the text in the worst unfavourable case, theoretically is of \(m(n-m+1)\). This seems to be faster than the direct method presented in [9].

Downloads

Download data is not yet available.

Downloads

Published

1997-01-01

How to Cite

[1]
O. C. Dogaru, “A METHOD OF STRING SEARCH”, Mat. Bilt., vol. 21, no. 1, pp. 121–128, Jan. 1997, Accessed: Aug. 14, 2026. [Online]. Available: https://bilten.smm.org.mk/index.php/bilten/article/view/1559