The closest string and substring problems find applications in PCR primer design, genetic probe design, motif finding, and antisense drug design. For their importance, the two problems have been extensively studied recently in computational biology. Unfortunately both problems are NP-complete. Researchers have developed both fixed-parameter algorithms and approximation algorithms for the two problems. In terms of fixed-parameter, when the radius d is the parameter, the best-known fixed-parameter algorithm for closest string has time complexity O(nd(d+1)), which is still superpolynornial even if d = O(log n). In this paper we provide an O(n vertical bar Sigma vertical bar(O(d))) algorithm where Sigma is the alphabet. This gives a polynomial time algorithm when d = 0(log n) and Sigma has constant size. Using the same technique, we additionally provide a more efficient subexponential time algorithm for the closest substring problem. In terms of approximation, both closest string and closest substring problems admit polynomial time approximation schemes (PTAS). The best known time complexity of the PTAS is O(n(O(epsilon-2 log 1/epsilon))). In this paper we present a PTAS with time complexity O(n(O(epsilon-2))). At last, we prove that a restricted version of the closest substring has the same parameterized complexity as closest substring, answering an open question in the literature.