Closed cuwhenicu closed 4 months ago
isEmpty(): 큐가 비어있는지 확인. 큐의 크기(size)가 0인지를 확인하여 구현할 수 있다.
isFull(): 큐가 가득 찼는지 확인. 이는 큐의 크기(size)가 용량(capacity)와 동일한지를 확인하여 구현할 수 있다.
백준 요세푸스 문제
백준 라우터
LeetCode 원형큐
isEmpty(): 큐가 비어있는지 확인. 큐의 크기(size)가 0인지를 확인하여 구현할 수 있다.
isFull(): 큐가 가득 찼는지 확인. 이는 큐의 크기(size)가 용량(capacity)와 동일한지를 확인하여 구현할 수 있다.