Apple Interview Question

design a data structure, O(1) insert and search for max and min

Interview Answer

Anonymous

Oct 14, 2020

monotonous deque is okay. I come out of monotonous stack but got wrong

1