Frage im Vorstellungsgespräch bei Yahoo

Min stack

Antwort im Vorstellungsgespräch

Anonym

27. Juni 2018

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

1