โ† Cadence questions

Stack with secondMin() API

Filed under Cadence

The question

Design a stack that supports push, pop, and a secondMin() operation to return the second minimum element.

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

Related Cadence questions

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