MyDeque <T>& MyDeque<T>::pushFront(T e){
}
function: pushFront(T e)
description: add data element e to the front of the vectorpre-condition: a MyDeque object exists post-condition: if size ==capacity, double capacity, add to the front of the array usingbegin data element e has been added to the front of the array,increment size return: a reference to self
Expert Answer
An answer will be send to you shortly. . . . .