{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:29:54Z","timestamp":1787340594468,"version":"build-2736575974"},"reference-count":5,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1977,12]]},"abstract":"<jats:p>Any algorithm for finding a pattern of length k in a string of length n must examine at least $n - k + 1$ of the characters of the string in the worst case. By considering the pattern $00 \\cdots 0$, we prove that this is the best possible result. Therefore there do not exist pattern matching algorithms whose worst-case behavior is \u201csublinear\u201d in n (that is, linear with constant less than one), in contrast with the situation for average behavior (the Boyer-Moore algorithm is known to be sublinear on the average).<\/jats:p>","DOI":"10.1137\/0206048","type":"journal-article","created":{"date-parts":[[2005,2,24]],"date-time":"2005-02-24T05:59:55Z","timestamp":1109224795000},"page":"669-674","source":"Crossref","is-referenced-by-count":49,"title":["On the Worst-Case Behavior of String-Searching Algorithms"],"prefix":"10.1137","volume":"6","author":[{"given":"Ronald L.","family":"Rivest","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,13]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1145\/360825.360855"},{"key":"R2","first-page":"36","volume-title":"Computer algorithms","author":"Boyer Robert S.","year":"1994"},{"key":"R3","unstructured":"D. E. Knuth, J. H. Morris, V. R. Pratt,  Fast pattern matching in strings, Tech. Rep., CS-74-440, Computer Science Department, Stanford Univ., Stanford, CA,  1974"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1137\/0206024"},{"key":"R5","doi-asserted-by":"crossref","unstructured":"Ronald L. Rivest, Jean Vuillemin,  A generalization and proof of the Aanderaa-Rosenberg conjecture,  Seventh Annual ACM Symposium on Theory of Computing (Albuquerque, N. M., 1975), Assoc. Comput. Mach., New York,  1975,  6\u201311 MR04339830357.68058","DOI":"10.1145\/800116.803747"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/0206048","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:40:44Z","timestamp":1787337644000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/0206048"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1977,12]]},"references-count":5,"journal-issue":{"issue":"4","published-print":{"date-parts":[[1977,12]]}},"alternative-id":["10.1137\/0206048"],"URL":"https:\/\/doi.org\/10.1137\/0206048","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1977,12]]}}}