{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,3]],"date-time":"2026-07-03T00:47:47Z","timestamp":1783039667390,"version":"3.54.6"},"reference-count":50,"publisher":"Cambridge University Press (CUP)","issue":"2","license":[{"start":{"date-parts":[[2015,5,29]],"date-time":"2015-05-29T00:00:00Z","timestamp":1432857600000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Math. Struct. Comp. Sci."],"published-print":{"date-parts":[[2017,2]]},"abstract":"<jats:p>Given a set<jats:inline-formula><jats:alternatives><jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"gif\" xlink:type=\"simple\" xlink:href=\"S0960129515000110_inline1\"\/><jats:tex-math>$\\mathcal{D}$<\/jats:tex-math><\/jats:alternatives><\/jats:inline-formula>of<jats:italic>q<\/jats:italic>documents, the Longest Common Substring (LCS) problem asks, for any integer 2 \u2a7d<jats:italic>k<\/jats:italic>\u2a7d<jats:italic>q<\/jats:italic>, the longest substring that appears in<jats:italic>k<\/jats:italic>documents. LCS is a well-studied problem having a wide range of applications in Bioinformatics: from microarrays to DNA sequences alignments and analysis. This problem has been solved by Hui (2000<jats:italic>International Journal of Computer Science and Engineering<\/jats:italic><jats:bold>15<\/jats:bold>73\u201376) by using a famous constant-time solution to the Lowest Common Ancestor (LCA) problem in trees coupled with the use of suffix trees.<\/jats:p><jats:p>In this article, we present a simple method for solving the LCS problem by using suffix trees (STs) and classical union-find data structures. In turn, we show how this simple algorithm can be adapted in order to work with other space efficient data structures such as the enhanced suffix arrays (ESA) and the compressed suffix tree.<\/jats:p>","DOI":"10.1017\/s0960129515000110","type":"journal-article","created":{"date-parts":[[2015,7,23]],"date-time":"2015-07-23T02:37:36Z","timestamp":1437619056000},"page":"277-295","source":"Crossref","is-referenced-by-count":4,"title":["The longest common substring problem"],"prefix":"10.1017","volume":"27","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-1087-1419","authenticated-orcid":false,"given":"MAXIME","family":"CROCHEMORE","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"COSTAS S.","family":"ILIOPOULOS","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"ALESSIO","family":"LANGIU","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"FILIPPO","family":"MIGNOSI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2015,5,29]]},"reference":[{"key":"S0960129515000110_ref32","doi-asserted-by":"publisher","DOI":"10.1016\/j.jda.2004.08.002"},{"key":"S0960129515000110_ref21","volume-title":"Proceedings of the LATIN Theoretical Informatics, 4th Latin American Symposium","author":"Gonnet","year":"2000"},{"key":"S0960129515000110_ref17","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(85)90014-5"},{"key":"S0960129515000110_ref45","doi-asserted-by":"publisher","DOI":"10.1007\/s00224-006-1198-x"},{"key":"S0960129515000110_ref6","first-page":"88","volume-title":"Proceedings of the Theoretical Informatics, 4th Latin American Symposium","author":"Bender","year":"2000"},{"key":"S0960129515000110_ref1","doi-asserted-by":"publisher","DOI":"10.3390\/a6020319"},{"key":"S0960129515000110_ref46","doi-asserted-by":"publisher","DOI":"10.1137\/0217079"},{"key":"S0960129515000110_ref14","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-74450-4_41"},{"key":"S0960129515000110_ref50","first-page":"1","volume-title":"SWAT (FOCS)","author":"Weiner","year":"1973"},{"key":"S0960129515000110_ref29","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-007-9061-2"},{"key":"S0960129515000110_ref25","doi-asserted-by":"publisher","DOI":"10.1137\/0213024"},{"key":"S0960129515000110_ref24","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(97)00291-0"},{"key":"S0960129515000110_ref7","doi-asserted-by":"publisher","DOI":"10.1137\/0222017"},{"key":"S0960129515000110_ref36","doi-asserted-by":"publisher","DOI":"10.1137\/0219060"},{"key":"S0960129515000110_ref11","doi-asserted-by":"publisher","DOI":"10.1145\/355541.355547"},{"key":"S0960129515000110_ref28","doi-asserted-by":"publisher","DOI":"10.1145\/1217856.1217858"},{"key":"S0960129515000110_ref35","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0015935"},{"key":"S0960129515000110_ref27","first-page":"73","article-title":"A practical algorithm to find longest common substring in linear time","volume":"15","author":"Hui","year":"2000","journal-title":"International Journal of Computer Science and Engineering"},{"key":"S0960129515000110_ref12","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(94)00262-2"},{"key":"S0960129515000110_ref41","volume-title":"Bioinformatics Algorithms: Sequence Analysis, Genome Rearrangements, and Phylogenetic Reconstruction","author":"Ohlebusch","year":"2013"},{"key":"S0960129515000110_ref15","first-page":"239","volume-title":"Range median of minima queries, super-cartesian trees, and text indexing","author":"Fischer","year":"2008"},{"key":"S0960129515000110_ref8","doi-asserted-by":"publisher","DOI":"10.1016\/j.jda.2012.07.003"},{"key":"S0960129515000110_ref4","doi-asserted-by":"publisher","DOI":"10.1007\/11523468_7"},{"key":"S0960129515000110_ref23","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511574931"},{"key":"S0960129515000110_ref20","doi-asserted-by":"crossref","first-page":"2.1:1","DOI":"10.1145\/2444016.2461327","article-title":"Compressed suffix trees: Efficient computation and storage of LCP-values","volume":"18","author":"Gog","year":"2013","journal-title":"ACM Journal of Experimental Algorithmics"},{"key":"S0960129515000110_ref3","doi-asserted-by":"publisher","DOI":"10.1137\/0205011"},{"key":"S0960129515000110_ref40","doi-asserted-by":"publisher","DOI":"10.1145\/1216370.1216372"},{"key":"S0960129515000110_ref44","doi-asserted-by":"publisher","DOI":"10.1145\/2000807.2000821"},{"key":"S0960129515000110_ref5","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2010.11.005"},{"key":"S0960129515000110_ref16","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2009.09.012"},{"key":"S0960129515000110_ref30","doi-asserted-by":"publisher","DOI":"10.1007\/11496656_4"},{"key":"S0960129515000110_ref49","doi-asserted-by":"publisher","DOI":"10.1007\/BF01206331"},{"key":"S0960129515000110_ref43","doi-asserted-by":"publisher","DOI":"10.1145\/1242471.1242472"},{"key":"S0960129515000110_ref2","doi-asserted-by":"publisher","DOI":"10.1016\/S1570-8667(03)00065-0"},{"key":"S0960129515000110_ref31","doi-asserted-by":"publisher","DOI":"10.1016\/j.jda.2004.08.019"},{"key":"S0960129515000110_ref26","doi-asserted-by":"crossref","first-page":"230","DOI":"10.1007\/3-540-56024-6_19","article-title":"Color set size problem with application to string matching","volume":"644","author":"Hui","year":"1992","journal-title":"Springer Lecture Notes in Computer Science"},{"key":"S0960129515000110_ref42","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03784-9_6"},{"key":"S0960129515000110_ref38","doi-asserted-by":"publisher","DOI":"10.1145\/321941.321946"},{"key":"S0960129515000110_ref48","doi-asserted-by":"publisher","DOI":"10.1002\/9781118032770"},{"key":"S0960129515000110_ref39","doi-asserted-by":"publisher","DOI":"10.1145\/2535933"},{"key":"S0960129515000110_ref22","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539702402354"},{"key":"S0960129515000110_ref9","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511546853"},{"key":"S0960129515000110_ref47","doi-asserted-by":"publisher","DOI":"10.1137\/0222070"},{"key":"S0960129515000110_ref33","doi-asserted-by":"publisher","DOI":"10.1142\/S0129054109007066"},{"key":"S0960129515000110_ref19","doi-asserted-by":"publisher","DOI":"10.1145\/116873.116878"},{"key":"S0960129515000110_ref37","doi-asserted-by":"publisher","DOI":"10.1137\/0222058"},{"key":"S0960129515000110_ref10","doi-asserted-by":"publisher","DOI":"10.1145\/128749.128750"},{"key":"S0960129515000110_ref13","doi-asserted-by":"publisher","DOI":"10.1007\/11780441_5"},{"key":"S0960129515000110_ref18","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2012.08.004"},{"key":"S0960129515000110_ref34","first-page":"360","volume-title":"Linearity and unprovability of set union problem strategies","author":"Loebl","year":"1988"}],"container-title":["Mathematical Structures in Computer Science"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0960129515000110","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,5,18]],"date-time":"2022-05-18T20:59:34Z","timestamp":1652907574000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0960129515000110\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,5,29]]},"references-count":50,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2017,2]]}},"alternative-id":["S0960129515000110"],"URL":"https:\/\/doi.org\/10.1017\/s0960129515000110","relation":{},"ISSN":["0960-1295","1469-8072"],"issn-type":[{"value":"0960-1295","type":"print"},{"value":"1469-8072","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,5,29]]}}}