import java.util.*; /** * NC220 重复的DNA序列 * @author d3y1 */ public class Solution { // 滑动窗口大小gap 亦即DNA子串长度 private final int L = 10; // 字符映射成整数 private HashMap<Character,Integer> chToIntMap = new HashMap<Character,Integer>(){{ put('A', 0); put('C', 1); put('G', 2); put('T', 3); }}; // 整数映...