Notice
Recent Posts
Tags
- Set
- fast pwm mode
- atmega 128a
- 4bit parallel adder
- behavioral modeling
- interface
- java
- structural modeling
- ctc mode
- Recursion
- LED
- ATMEGA128A
- dataflow modeling
- structure
- atmega 128
- Method
- Comparator
- normal mode
- 8bit timer/counter
- full adder
- Linked List
- behavior modeling
- MUX
- sequential logic circuit
- gpio
- interrupt
- timer / counter
- verilog
- Algorithm
- half adder
목록deque (1)
거북이처럼 천천히
Deque
문제Deque (Double-ended que) 이란? Deque는 "Double-ended que"의 약자로, Stack과 Queue를 일반화한 형태라고 볼 수 있으며, 앞 뒤로 통로가 있어 Push, Pop 명렬어을 통해 양방향으로 데이터를 넣고, 뺄 수 있는 형태의 자료 구조이다. 문제는 Backjoon 에서 10866번 문제이며, Deque 자료 구조에 대한 이해와 포인터, 구조체를 활용 연습을 위해 해당 문제를 풀게 되었다. 출처 : 10866번: 덱 (acmicpc.net code)#include #include #include // Structuretypedef struct NODE { struct NODE* p_prev; struct NODE* p_next; int d..
C
2024. 5. 31. 14:22