본문 바로가기

Code Inside

검색하기
Code Inside
프로필사진 HongCorin

  • 분류 전체보기 (34)
    • Coding Test (4)
    • Computer Science (20)
    • C++ (3)
    • 자료 구조 (1)
    • Side Projects (1)
    • ETC (2)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • kakao입사
  • 논리게이트
  • CS
  • 코딩테스트
  • logic gate
  • network
  • 이더넷
  • programmers
  • English
  • 프로그래밍
  • memory
  • Kakao
  • codingtest
  • ram
  • C
  • CS50
  • broardcast
  • Ethernet
  • Compiler
  • javascript
  • 프로그래머스
  • Coding Test
  • string
  • 네트워크
  • 병렬 통신
  • c++
  • 메모리
  • TCP
  • DRAM
  • kakao coding test
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록queue (1)

Code Inside

[자료 구조] 1. Queue(큐) - C++

1. Queue 란? 먼저 집어 넣은 데이터가 먼저 나오는 FIFO(First In First Out)구조로 저장하는 형식이다 queue 자료 구조에 a > b > c 순서로 element 를 push 하면, element 를 pop 할 때도 a > b > c 순서로 나오게 된다. 2. C++ queue #_include_queue #include using namespace std; queue qi; queue qc; 위와 같이 헤더를 이용해서 사용할 수 있고, data type 과 같이 선언하여 정의한다. #_push()_pop()_front()_back() //예제 코드 #include #include using namespace std; int main() { queue qi; queue qc; ..

자료 구조 2022. 9. 5. 21:51
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바