Zalando interview question

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

Interview Answer

Anonymous

2 Apr 2019

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

3