剑指offer-队列的最大值(java实现)

题目:

前面的博文中使用两个最大值栈实现过最大值队列,下面采用两个双端队列实现最大值队列。

猜你喜欢

转载自blog.csdn.net/Wenlong_L/article/details/84987022