Zalando Interview Question

Build a data structure which keeps track of minimal and maximum elements

Interview Answer

Anonymous

Apr 2, 2019

method -1 . Use BST if reference value is known method - 2. Use doubly ended queue.

3