Notice
Recent Posts
Tags
- Recursion
- MUX
- normal mode
- ATMEGA128A
- dataflow modeling
- behavior modeling
- Linked List
- Algorithm
- atmega 128
- 4bit parallel adder
- interrupt
- gpio
- structure
- interface
- verilog
- structural modeling
- LED
- Set
- half adder
- Comparator
- ctc mode
- sequential logic circuit
- timer / counter
- Method
- behavioral modeling
- atmega 128a
- full adder
- 8bit timer/counter
- fast pwm mode
- java
목록c (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