โ† Citrix questions
CodingReported in a candidate post, Aug 2014

Stack with O(1) Min Operation

Filed under Citrix

The question

Implement a stack class with push and pop in O(1) along with a min function that returns the minimum element till now in O(1).

No write-up yet. Related questions below have one.

Related Citrix questions

Collected from public candidate posts and coding forums. Updated Nov 2026.