We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8677195 commit 25d31e6Copy full SHA for 25d31e6
longest-substring-without-repeating-characters/wogha95.js
@@ -3,7 +3,7 @@
3
* right의 S만큼 순회 + left의 S만큼 순회
4
* (각 순회의 곱이 아닌 합인 이유는 right 순회 동안 left의 최대 순회가 S이기 때문입니다.)
5
*
6
- * SC: O(N)
+ * SC: O(S)
7
* usedCharacter에 S만큼 들어갈 수 있습니다.
8
9
* S: s.length
0 commit comments