일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- GenerativeAI
- codeup
- array
- heap
- 리트코드
- sql코테
- 자연어처리
- Python
- 슬라이딩윈도우
- stratascratch
- 투포인터
- 코드업
- slidingwindow
- medium
- 파이썬
- 파이썬기초100제
- Python3
- nlp
- 니트코드
- dfs
- LeetCode
- 릿코드
- GenAI
- Greedy
- SQL
- 생성형AI
- gcp
- 파이썬알고리즘
- two-pointer
- 알고리즘
Archives
- Today
- Total
목록2025/05/29 (1)
Tech for good

Greedy + Adjacency Counting Approachclass Solution: def islandPerimeter(self, grid: List[List[int]]) -> int: # Initialize perimeter perimeter = 0 # Iterate over each cell in the grid for i in range(len(grid)): for j in range(len(grid[0])): # If the cell is land if grid[i][j] == 1: # Add 4 for the c..
IT/Computer Science
2025. 5. 29. 00:10