Skip to content

Commit

Permalink
update post
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-jonghoonpark committed Jun 29, 2024
1 parent 12f3007 commit c17727c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _posts/2024-04-07-leetcode-200.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ class Solution {
}
}
```

## TC, SC

코드에 정의한 대로 grid의 길이를 `w`, grid[0]의 길이를 `h`로 정의했을 때,
이 코드의 시간 복잡도는 O(w \* h), 공간 복잡도는 O(w \* h) 이다.

0 comments on commit c17727c

Please sign in to comment.