일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- mysql
- postman
- Developer
- RESTful
- Oracle11g
- ojdbc
- 웹개발
- 환경변수
- oracle
- SpringInitializer
- Database
- undefined
- Tomcat #SpringFramework
- springboot #controller #jsp
- 스프링시큐리티
- Web
- SpringSecurity
- sqldeveloper
- install
- IntelliJ
- 스프링부트
- apache
- Maven
- restapi
- HATEOAS
- mssql
- tcping
- springboot
- development
- 스프링부트 #springboot #project #Intellij
Archives
- Today
- Total
목록자료구조 (1)
여백에 도장 찍기
Queue
큐(Queue)는 사람들이 맛집 앞에 줄 서는 상황을 생각하면 된다. FIFO(First-In First-Out), 선입선출 구조. Enqueue: 큐에 데이터를 넣는 기능 Dequeue: 큐에서 데이터를 꺼내는 기능 Java package hello.hellospring.Book; import java.util.LinkedList; import java.util.Queue; public class queue { public static void main(String[] args) { Queue queue = new LinkedList(); queue.add(1); // 큐에 데이터 추가 (데이터 추가 공간 없을 시 Exception 발생) queue.offer(2); // 큐에 데이터 추가 queue...
자료구조
2021. 8. 11. 22:26