{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T16:13:46Z","timestamp":1790784826625,"version":"4.1.0"},"reference-count":31,"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":[[2010,1]]},"abstract":"<jats:p>The closest string problem and the closest substring problem are all natural theoretical computer science problems and find important applications in computational biology. Given n input strings, the closest string (substring) problem finds a new string within distance d to (a substring of) each input string and such that d is minimized. Both problems are NP-complete. In this paper we propose new algorithms for these two problems. For the closest string problem, we developed an exact algorithm with time complexity $O(n|\\Sigma|^{O(d)})$, where $\\Sigma$ is the alphabet. This improves the previously best known result $O(nd^{O(d)})$ and results into a polynomial time algorithm when $d=O(\\log n)$. By using this algorithm, a polynomial time approximation scheme (PTAS) for the closest string problem is also given with time complexity $O(n^{O(\\epsilon^{-2})})$, improving the previously best known $O(n^{O(\\epsilon^{-2}\\log\\frac{1}{\\epsilon})})$ PTAS. A new algorithm for the closest substring problem is also proposed. Finally, we prove that a restricted version of the closest substring problem has the same parameterized complexity as the closest substring, answering an open question in the literature.<\/jats:p>","DOI":"10.1137\/080739069","type":"journal-article","created":{"date-parts":[[2009,10,16]],"date-time":"2009-10-16T18:24:50Z","timestamp":1255717490000},"page":"1432-1443","source":"Crossref","is-referenced-by-count":42,"title":["More Efficient Algorithms for Closest String and Substring Problems"],"prefix":"10.1137","volume":"39","author":[{"given":"Bin","family":"Ma","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaoming","family":"Sun","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2009,10,16]]},"reference":[{"key":"R1","doi-asserted-by":"crossref","unstructured":"A. Andoni, P. Indyk, and M. Patrascu,\n                      On the optimality of the dimensionality reduction method\n                      , in Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science, 2006, pp. 449\u2013458.","DOI":"10.1109\/FOCS.2006.56"},{"key":"R2","doi-asserted-by":"crossref","unstructured":"A. Ben-Dor, G. Lancia, J. Perone, and R. Ravi,\n                      Banishing bias from consensus sequences\n                      , in Proceedings of the 8th Annual Symposium on Combinatorial Pattern Matching, Lecture Notes In Computer Science, 1997, pp. 247\u2013261.","DOI":"10.1007\/3-540-63220-4_63"},{"key":"R3","doi-asserted-by":"crossref","unstructured":"J. Davila, S. Balla, and S. Rajasekaran,\n                      Space and time efficient algorithms for planted motif search\n                      , in International Conference on Computational Science, 2006, pp. 822\u2013829.","DOI":"10.1007\/11758525_110"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539701397825"},{"key":"R5","first-page":"123","volume":"9","author":"Dopazo J.","year":"1993","journal-title":"CABIOS"},{"key":"R6","doi-asserted-by":"crossref","unstructured":"R. G. Downey and M. R. Fellows,\n                      Parameterized complexity\n                      , Monographs in Computer Science, Springer-Verlag, New York, 1999.","DOI":"10.1007\/978-1-4612-0515-9"},{"key":"R7","doi-asserted-by":"crossref","unstructured":"P. A. Evans and A. D. Smith,\n                      Complexity of approximating closest substring problems\n                      , in FCT, 2003, pp. 210\u2013221.","DOI":"10.1007\/978-3-540-45077-1_20"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(03)00320-7"},{"key":"R9","doi-asserted-by":"publisher","DOI":"10.1007\/s00493-006-0011-4"},{"key":"R10","first-page":"113","volume":"30","author":"Frances M.","year":"1997","journal-title":"Theoret. Comput. Sci.","ISSN":"https:\/\/id.crossref.org\/issn\/0304-3975","issn-type":"print"},{"key":"R11","doi-asserted-by":"crossref","unstructured":"J. Gramm, J. Guo, and R. Niedermeier,\n                      On exact and approximation algorithms for distinguishing substring selection\n                      , in FCT, (2003), pp. 159\u2013209.","DOI":"10.1007\/978-3-540-45077-1_19"},{"key":"R12","unstructured":"J. Gramm, F. H\u00fcffner, and R. Niedermeier,\n                      Closest strings, primer design, and motif search\n                      , L. Florea et al eds., in Currents in Computational Molecular Biology, poster abstracts of RECOMB 2002, 2002, pp. 74\u201375."},{"key":"R13","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-003-1028-3"},{"key":"R14","unstructured":"Dorit S. Hochbaum, ed.\n                      Approximation Algorithms for NP-Hard Problems\n                      , PWS Publishing Company, Boston, MA, 1996."},{"key":"R15","doi-asserted-by":"crossref","unstructured":"Y. Jiao, J. Xu, and M. Li,\n                      On the k-closest substring and k-consensus pattern problems\n                      , in Combinatorial Pattern Matching: 15th Annual Symposium (CPM 2004), Lecture Notes in Computer Science, 2004, pp. 130\u2013144.","DOI":"10.1007\/978-3-540-27801-6_10"},{"key":"R16","unstructured":"K. Lanctot, M. Li, B. Ma, S. Wang, and L. Zhang,\n                      Distinguishing string search problems\n                      , in Proceedings of the 10th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 1999, pp. 633\u2013642."},{"key":"R17","doi-asserted-by":"crossref","unstructured":"M. Li, B. Ma, and L. Wang,\n                      Finding similar regions in many strings\n                      , in Proceedings of the 31st ACM Symposium on Theory of Computing, 1999, pp. 473\u2013482.","DOI":"10.1145\/301250.301376"},{"key":"R18","doi-asserted-by":"publisher","DOI":"10.1145\/506147.506150"},{"key":"R19","doi-asserted-by":"crossref","unstructured":"X. Liu, H. He, and O. S\u00fdkora,\n                      Parallel genetic algorithm and parallel simulated annealing algorithm for the closest string problem\n                      , in Advanced Data Mining and Applications, LNCS 3584, 2005, pp. 591\u2013597.","DOI":"10.1007\/11527503_70"},{"key":"R20","first-page":"525","volume":"7","author":"Lucas K.","year":"1991","journal-title":"CABIOS"},{"key":"R21","doi-asserted-by":"crossref","unstructured":"B. Ma,\n                      A polynomial time approximation scheme for the closest substring problem\n                      , in Proceedings of the 11th Symposium on Combinatorial Pattern Matching, 2000, pp. 99\u2013107.","DOI":"10.1007\/3-540-45123-4_10"},{"key":"R22","doi-asserted-by":"crossref","unstructured":"D. Marx,\n                      The closest substring problem with small distances\n                      , in Proceedings of the 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS), 2005, pp. 63\u201372.","DOI":"10.1109\/SFCS.2005.70"},{"key":"R23","doi-asserted-by":"crossref","unstructured":"H. Mauch, M. J. Melzer, and J. S. Hu,\n                      Genetic algorithm approach for the closest string problem\n                      , in Proceedings of the 2nd IEEE Computer Society Bioinformatics Conference (CSB), 2003, pp. 560\u2013561.","DOI":"10.1109\/CSB.2003.1227407"},{"key":"R24","doi-asserted-by":"publisher","DOI":"10.1287\/ijoc.1040.0090"},{"key":"R25","doi-asserted-by":"publisher","DOI":"10.1016\/j.dam.2004.06.003"},{"key":"R26","doi-asserted-by":"crossref","unstructured":"F. Nicolas and E. Rivals,\n                      Complexities of the centre and median string problems\n                      , in Proceedings of the 14th Annual Symposium on Combinatorial Pattern Matching, 2003, pp. 315\u2013327.","DOI":"10.1007\/3-540-44888-8_23"},{"key":"R27","first-page":"253","volume":"12","author":"Proutski V.","year":"1996","journal-title":"CABIOS"},{"key":"R28","doi-asserted-by":"crossref","unstructured":"P. Raghavan,\n                      Probabilistic construction of deterministic algorithms: Approximating packing integer program\n                      , J. Comp. System Sci., 37 (1988), 130\u2013143.","DOI":"10.1016\/0022-0000(88)90003-7"},{"key":"R29","doi-asserted-by":"crossref","unstructured":"N. Stojanovic, P. Berman, D. Gumucio, R. Hardison, and W. Miller,\n                      A linear-time algorithm for the 1-mismatch problem\n                      , in Proceedings of the 5th International Workshop on Algorithms and Data Structures, 1997, pp. 126\u2013135.","DOI":"10.1007\/3-540-63307-3_53"},{"key":"R30","doi-asserted-by":"publisher","DOI":"10.1142\/S0219720005001508"},{"key":"R31","doi-asserted-by":"publisher","DOI":"10.1186\/1471-2105-7-S4-S9"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/080739069","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:30:46Z","timestamp":1787337046000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/080739069"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2009,10,16]]},"references-count":31,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2010,1]]}},"alternative-id":["10.1137\/080739069"],"URL":"https:\/\/doi.org\/10.1137\/080739069","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2009,10,16]]}}}