queue as a stack stl code example
Example 1: how to access any element in a stack
stack<int> s;
s.get(index);
Example 2: c++ insertion in astack
stack<int> a;
a.push(5);
a.push(6);
//.....
stack<int> s;
s.get(index);
stack<int> a;
a.push(5);
a.push(6);
//.....