京东笔试,第一条关于重叠子串的题目 public static void main(String[] args) { Scanner in = new Scanner(System.in); String s = in.next(); char[] str = s.toCharArray(); int index = -1; for (int i = 1; i < str.length; i++) { boolean overlap = true; for (int j = 0; i+j < st...