Design a Max Stack (Optimal)
Asked at Zipline · Coding Questions · Difficulty: Hard
Design and implement a data structure `MaxStack` that supports the following operations:
Loading the problem…
Asked at Zipline · Coding Questions · Difficulty: Hard
Design and implement a data structure `MaxStack` that supports the following operations:
Loading the problem…