Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- apache kafka
- 오블완
- 우선순위큐
- 아파치 카프카
- 알고리즘
- heapq
- Kubernetes
- leetcode
- DP
- Apache Hadoop
- 도커
- 프로그래머스
- 쿠버네티스
- docker
- 그래프
- 코딩테스트
- 아파치 스파크
- 티스토리챌린지
- 분산
- BFS
- 분산처리
- programmers
- 이진탐색
- 리트코드
- String
- 아파치 하둡
- 파이썬
- Apache Spark
- 하둡
- Python
Archives
- Today
- Total
목록2025/01/28 (1)
래원
[LeetCode] 2658. Maximum Number of Fish in a Grid (Python)
난이도: Medium문제 설명You are given a 0-indexed 2D matrix grid of size m x n, where (r, c) represents:A land cell if grid[r][c] = 0, orA water cell containing grid[r][c] fish, if grid[r][c] > 0.A fisher can start at any water cell (r, c) and can do the following operations any number of times:Catch all the fish at cell (r, c), orMove to any adjacent water cell.Return the maximum number of fish the fis..
알고리즘/LeetCode
2025. 1. 28. 19:43