일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 문자열
- web
- 그래프이론
- 웹 프론트엔드
- programmers
- 백준
- 자바스크립트
- 프로그래머스
- 다이나믹 프로그래밍
- level2
- lv2
- 정렬
- BFS
- 알고리즘
- 너비 우선 탐색
- 그래프 탐색
- BASIC
- 자료구조
- 브루트포스 알고리즘
- DP
- 딕셔너리
- DFS
- 구현
- 프로그래머스스쿨
- CSS
- 그래프 이론
- 그리디 알고리즘
- 스택
- 파이썬
- JavaScript
Archives
- Today
- Total
목록알고리즘/리트코드 (1)
DevLog:-)

문제 Number of Islands - LeetCode Can you solve this real interview question? Number of Islands - Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An island is surrounded by water and is formed by connecting adjacent l leetcode.com 접근 방법 1.한 칸씩 확인한다.→ 이중for문 2.육지의 경우 주변을 다 탐색한다. → bfs or dfs 3.탐색한 육지는 다시 탐색하지 않도록 기록한다. →visite..
알고리즘/리트코드
2023. 5. 15. 18:58