Min Stack — Stack

Design a pile of scores where the latest one is removed first, which can also report the lowest score on hand, with every action fast.

Stack · Easy

More in Stack

All algorithm problems