摘要:
无重复字符的最长字串(003) 先看代码 class Solution { public int lengthOfLongestSubstring(String s) { int res = 0; int lef = 0; int rig = 0; int[] memo = new int[128] 阅读全文
摘要:
两数之和(001) 先看代码 class Solution { HashMap<Integer, Integer> map = new HashMap<>(); public int[] twoSum(int[] nums, int target) { int n = nums.length; fo 阅读全文