String常见笔试题(算法)
1、统计最长不重复子串(利用HashMap是最简单的)public static String lengthOfLongestSubstring(String s) { int star = 0; int head = 0; int ans = 0; Map<Character, Integer> hashMap = new HashMap<>();...