Min stack
Anonymous
A Min stack is a form of a stack. A stack follows the rule of "first in last out" like a STACK of books. A min stack is just a stack that has the function necessary to get the smallest thing in the stack. Stacks usually include several specific functions: pop - remove value on top push - add value to top of stack peek - look at value on top but leave it on stack
Check out your Company Bowl for anonymous work chats.