Queue with O(1) min, push_back and push_front; amortized O(1) pop_back and pop_front
By chatting or signing in you agree to the Terms and chat-message logging (revocable in History).