Skip to content

Commit b363381

Browse files
committed
복잡도 계산 - 추가 설명
1 parent ead61d9 commit b363381

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

group-anagrams/hyejjun.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ console.log(groupAnagrams(["a"]));
2626
/*
2727
시간 복잡도: O(n*k log k)
2828
공간 복잡도: O(n*k)
29+
30+
n: 문자열의 개수
31+
k: 문자열의 최대 길이
2932
*/

0 commit comments

Comments
 (0)