-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Description
原文
你有提到为了防止p指针回溯,不太清除这是为什么。)
if(map.containsKey(chars[q])){
p=map.get(chars[q])+1;
}
map.put(chars[q],q);
max=Math.max(max,q-p+1);
这样有什么问题吗,求解!
Metadata
Metadata
Assignees
Labels
No labels