Search
⌘K

Leetcode 641. Design Circular Deque

Implement a fixed-capacity circular double-ended queue that supports O(1) insertions and deletions at both front and rear, plus front/rear access and isEmpty/isFull checks, correctly handling overflow and underflow.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.