摘要:
https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ 暴力求解会超时。有两种滑动窗口的方法,时间都差不多。 public int lengthOfLongestSubstring(String 阅读全文
摘要:
int [] two_num(int [] nums,int target){ HashMap<Integer, Integer> num_indx = new HashMap<Integer, Integer>(); int [] ans = new int [2]; for(int i=0;i< 阅读全文