text: class Deque {
      constructor() {}
      enqueue() {}
      dequeue() {}
      insertRear() {}
      insertFront() {}
      deleteRear() {}
      deleteFront() {}
      isEmpty() {}
      isNotEmpty() {}
      getSize() {}
  }