이번에는 Java를 이용하여 원형 데크를 구현하는 Design Circular Deque 실습이다. Design Circular Deque - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 데크(Deque)는 큐(Queue)와 비슷하지만 양쪽 모두(head, tail)에서 삽입, 삭제 연산이 가능한 자료구조다. 즉 끝이 두 개(double-ended)인 큐이기 때문에 deque라고 한다. 그럼 원형 데크는 이전에 구현했던 원형 큐처럼 제한된 크기로 설정된 데크라..