250x250
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
- Spring Batch
- spring
- Effective Java
- spring cloud
- JavaScript
- java
- mysql 5.5
- Regular expression
- nodejs
- upgrade
- Effective Java 3/e
- log4j2
- REACTJS
- eslint
- REACT
- Express
- git
- npm
- current_date
- expire_logs_days
- regex
- 퀵소트
- update
- 정규표현식
- log_bin
- MySQL
- Node
- Chunk
- migration
- try catch
Archives
- Today
- Total
내 세상
[Data Structure] Stack and Queue 본문
728x90
반응형
1. Stack
- Last Input First Out, LIFO, 후입선출
- 가장 나중에 저장된(push) data가 가장 먼저 인출(pop)되는 구조
- 용도
- DFS(Depth First Search, 깊이우선탐색)
- 함수 호출의 순서 제어
- Interrupt 처리
- 수식 계산
2. Queue
- First Input First Out, FIFO, 선입선출
- 가장 먼저 저장된(push) data가 가장 먼저 인출(pop)되는 구조
- 용도
- BFS(Breadth First Search, 너비우선탐색)
- 운영체제 작업 스케줄링
- 대기행렬 처리
728x90
반응형
'Knowledge > Data Structure' 카테고리의 다른 글
[Data Structure] Graph, etc (0) | 2019.04.28 |
---|