摘要:
LCR 016. 无重复字符的最长子串 map存窗口内元素和下标,不会因为窗口大幅度移动逐个改变map值,所以需要 left = Math.max(left, map.get(ch)+1); 动态维护左边界,动态更新map中值 class Solution { public int lengthOf 阅读全文
posted @ 2026-02-20 14:13
Pluto134340
阅读(2)
评论(0)
推荐(0)
WELCOME TO Pluto134340小行星