what are the final contents of a queue "MyQ" after the following sequence of operations run.
MyQ.push_front(13);
MyQ.push_front(14);
MyQ.pop_back();
MyQ.push_front(12);
MyQ.push_front(8);
MyQ.pop_back();
MyQ.pop_back();
Is the answer :
13
14 / 13
14
12 / 14
8 / 12 / 14
8 / 12
8
End Result - 8