src/main/java/com/leetcode/design/medium/DesignCircularQueue_622.java
public int Front() {
      if (isEmpty()) {
        return -1;
      }
      return arr[front];
    }
/** Get the rear item from the queue. */
Get the rear item from the queue.
Get the rear item from the queue .
public int Front() {
      if (isEmpty()) {
        return -1;
      }
      return arr[front];
    }
public int Front ( ) { if ( isEmpty ( ) ) { return - 1 ; } return arr [ front ] ; }
Get the rear item from the queue.
Get the rear item from the queue .