2025.01.30 리뷰

문제 정의

접근

최종 풀이

https://leetcode.com/problems/longest-substring-without-repeating-characters/solutions/5111376/video-3-ways-to-solve-this-question-sliding-window-set-hashing-and-the-last-position/

<aside> <img src="/icons/checkmark-line_lightgray.svg" alt="/icons/checkmark-line_lightgray.svg" width="40px" />

제한 시간 내 문제는 못 풀었다. “슬라이딩 윈도우 기법”으로 푸는 방법도 있다고 하는데 뭔지 알아보자.

도움 되는 접근들

You just need to check that there are no repeated characters within a consecutive string of characters

(“반복 안하는 문자만 관리하는 것에만 집중하면 됨!“)