Journal of Computer Science

Occurrences Algorithm for String Searching Based on Brute-force Algorithm

Ababneh Mohammad, Oqeili Saleh and Rawan A. Abdeen

DOI : 10.3844/jcssp.2006.82.85

Journal of Computer Science

Volume 2, Issue 1

Pages 82-85


This study proposes a string searching algorithm as an improvement of the brute-force searching algorithm. The algorithm is named as, Occurrences algorithm. It is based on performing preprocessing for the pattern and for the text before beginning to search for the pattern in the text.


© 2006 Ababneh Mohammad, Oqeili Saleh and Rawan A. Abdeen. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.