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 |
Tags
- 운영체제
- feign
- Spring Boot
- 자료구조
- 알고리즘
- Spring Cloud Feign
- 데이터베이스
- DP
- 디자인 패턴
- Intellj
- db
- 오라클
- 자바
- retry
- JPA
- MVC
- Spring Cloud
- aws
- 페이징
- PL/SQL
- Jenkins
- MST
- 코딩
- SQL
- golang
- Kafka
- 백준
- 클라우드
- 쿼리
- Spring
Archives
- Today
- Total
목록너비우선탐색 (1)
justgo_developer
BFS(Breath-First Search, 너비우선순회)
그래프 순회 -순회(traversal) :그래프의 모든 노드들을 방문하는 일-두가지방법1. BFS(Breath-First Search, 너비우선순회)2. DFS(Depth-First Search, 깊이우선순회) 너비우선순회(BFS) ■ 큐를 이용한 너비우선순회 1. check the start node(체크는 이미 방문된 노드라는 표시)2. insert the start node into the queue 3. while the queue is not empty doremove a node v from queue;for each unchecked neighbour w of v docheck and insert w into the queue;반복한다.노드 방문 순서 : 1,2,3,4,5,7,8,6 ■ BF..
IT/알고리즘
2018. 1. 2. 16:22