LinkedIn Interview Question

Max Stack with O(log n) for all operations