[c++] 이진트리 넓이우선탐색, 그래프 최단거리 - BFS
이진트리 넓이우선탐색(BFS) #include #include /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; int Q[100], front=-1, back=-1, ch[10]; vector map[10]; int main() { freopen("input.txt", "rt", stdin); int i, a, b, x; for(i=1; i
lecture/algorithm - c++
2021. 1. 13. 00:50
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Stack
- Java
- 인접리스트
- react
- BFS
- 병행프로세스
- 이진탐색
- 인접행렬
- 교착상태
- stackframe
- server side rendering
- 스텍
- 알고리즘
- 동적프로그래밍
- 최단경로
- 세마포어
- 퀵정렬
- 재귀함수
- 입출력장치
- C
- dfs
- 클래스
- C++
- javascript
- 소프트웨어
- client side rendering
- 배열
- 운영체제
- 자료구조
- 구조체
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함