Design Circular Deque Leetcode Javascript Problems Practice