class SimpleIntDeque {

    public void push(int v) {
        if (endIndexPlusOne >= arr.length) {
            arr = Arrays.copyOf(arr, (int) (arr.length * growFactor));
        }

        arr[endIndexPlusOne] = v;
        endIndexPlusOne++;
    }

    public  SimpleIntDeque();
    public  SimpleIntDeque(int initSize);
    public  SimpleIntDeque(int initSize, float growFactor);

}