Skip to content

Commit c17727c

Browse files
update post
1 parent 12f3007 commit c17727c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_posts/2024-04-07-leetcode-200.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ class Solution {
6767
}
6868
}
6969
```
70+
71+
## TC, SC
72+
73+
코드에 정의한 대로 grid의 길이를 `w`, grid[0]의 길이를 `h`로 정의했을 때,
74+
이 코드의 시간 복잡도는 O(w \* h), 공간 복잡도는 O(w \* h) 이다.

0 commit comments

Comments
 (0)