3 ms·
Ok, my wife organizes my daily t-shirts as a deque: fresh comes into bottom, I take always from the top ) O(1) insertion O(1) retrieval.
by omgtehlion 11y ago
Ok, my wife organizes my daily t-shirts as a deque: fresh comes into bottom, I take always from the top )
O(1) insertion O(1) retrieval.