{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,10]],"date-time":"2025-12-10T12:47:56Z","timestamp":1765370876429,"version":"3.46.0"},"reference-count":20,"publisher":"World Scientific Pub Co Pte Ltd","issue":"08","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Int. J. Found. Comput. Sci."],"published-print":{"date-parts":[[2025,12]]},"abstract":"<jats:p>In this paper, we analyze two Las Vegas algorithms for the problem of checking if a search item is present in an unordered array. This problem, henceforth called the Linear Search (LS) problem, is well-studied and has applications in a host of domains, including computer graphics and computational biology. While the problem can be solved deterministically by scanning the entire array, this becomes impractical for large datasets that cannot fit into the main memory. To address this issue, algorithms that operate on a portion of the input array are necessary. Likewise, minimizing array accesses in computational biology is crucial, due to the high cost of accessing an element. This paper presents two Las Vegas algorithms for the LS problem that are optimal in their respective models. We show that a partition-based Las Vegas algorithm for the LS problem (with an additional condition that will be discussed) with one bit must have expected comparison complexity at least [Formula: see text]. We also prove that any Las Vegas algorithm for the LS problem with an arbitrary number of random bits has expected comparison complexity at least [Formula: see text]. It is important to note the latter of our two algorithms is analyzed in an extremely restrictive computational model. Despite the limitations on the computational model, our approach is optimal over all Las Vegas algorithms, when the number of permitted random bits is unbounded. Finally, we analyze the expected comparison complexity of our approach when the partition size is an arbitrary value [Formula: see text], for [Formula: see text]. Our algorithms offer an efficient approach for the LS problem in various practical applications.<\/jats:p>","DOI":"10.1142\/s0129054125500042","type":"journal-article","created":{"date-parts":[[2025,4,23]],"date-time":"2025-04-23T02:57:36Z","timestamp":1745377056000},"page":"1149-1172","source":"Crossref","is-referenced-by-count":0,"title":["An Analysis of Las Vegas Algorithms for Linear Search"],"prefix":"10.1142","volume":"36","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-9052-2685","authenticated-orcid":false,"given":"A.","family":"Subramani","sequence":"first","affiliation":[{"name":"Candor Care, Morgantown, WV"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5821-5117","authenticated-orcid":false,"given":"K.","family":"Subramani","sequence":"additional","affiliation":[{"name":"LDCSEE, West Virginia University, Morgantown, WV"}]}],"member":"219","published-online":{"date-parts":[[2025,4,22]]},"reference":[{"journal-title":"CoRR","year":"2017","author":"Cappelle M. R.","key":"S0129054125500042BIB001"},{"key":"S0129054125500042BIB002","doi-asserted-by":"publisher","DOI":"10.3390\/a15010010"},{"key":"S0129054125500042BIB003","doi-asserted-by":"publisher","DOI":"10.1016\/j.eswa.2021.116352"},{"key":"S0129054125500042BIB004","doi-asserted-by":"publisher","DOI":"10.1016\/j.disc.2007.04.067"},{"key":"S0129054125500042BIB005","volume-title":"Introduction to Algorithms","author":"Cormen T. H.","year":"2009","edition":"3"},{"journal-title":"CoRR","year":"2021","author":"Dhamapurkar S.","key":"S0129054125500042BIB006"},{"key":"S0129054125500042BIB007","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4471-5310-8"},{"journal-title":"CoRR","year":"2015","author":"Garg M.","key":"S0129054125500042BIB008"},{"journal-title":"CoRR","year":"2016","author":"Garg M.","key":"S0129054125500042BIB009"},{"volume-title":"Algorithm Design: Foundations, Analysis and Internet Examples","year":"2002","author":"Goodrich M. T.","key":"S0129054125500042BIB010"},{"key":"S0129054125500042BIB011","doi-asserted-by":"publisher","DOI":"10.1109\/SFCS.1989.63486"},{"key":"S0129054125500042BIB012","doi-asserted-by":"publisher","DOI":"10.1137\/19M1308116"},{"key":"S0129054125500042BIB013","doi-asserted-by":"publisher","DOI":"10.1109\/TIT.2021.3053140"},{"key":"S0129054125500042BIB014","doi-asserted-by":"publisher","DOI":"10.1016\/0196-6774(85)90020-3"},{"key":"S0129054125500042BIB015","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511814075"},{"key":"S0129054125500042BIB016","doi-asserted-by":"publisher","DOI":"10.1016\/j.dam.2017.10.011"},{"key":"S0129054125500042BIB017","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-15781-3_14"},{"key":"S0129054125500042BIB018","doi-asserted-by":"publisher","DOI":"10.32604\/csse.2022.020452"},{"key":"S0129054125500042BIB019","doi-asserted-by":"publisher","DOI":"10.1090\/mawrld\/013"},{"key":"S0129054125500042BIB020","first-page":"222","volume-title":"18th Annual Symposium on Foundations of Computer Science, Providence, Rhode Island, USA","author":"Chi-Chih Yao A.","year":"1977"}],"container-title":["International Journal of Foundations of Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.worldscientific.com\/doi\/pdf\/10.1142\/S0129054125500042","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,10]],"date-time":"2025-12-10T09:07:39Z","timestamp":1765357659000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.worldscientific.com\/doi\/10.1142\/S0129054125500042"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,4,22]]},"references-count":20,"journal-issue":{"issue":"08","published-print":{"date-parts":[[2025,12]]}},"alternative-id":["10.1142\/S0129054125500042"],"URL":"https:\/\/doi.org\/10.1142\/s0129054125500042","relation":{},"ISSN":["0129-0541","1793-6373"],"issn-type":[{"type":"print","value":"0129-0541"},{"type":"electronic","value":"1793-6373"}],"subject":[],"published":{"date-parts":[[2025,4,22]]}}}