dequeue() {
    const removedHead = this.linkedList.deleteHead();
    return removedHead ? removedHead.value : null;
  }
Remove the element at the front of the queue (the head of the linked list).
If the queue is empty, return null.
@return {*}