Fundamentals/Stack Operations
← PrevNext →
Process a list of stack operations like ["push", 5], ["pop"], ["peek"] and return the outputs of pop and peek calls in order. Pop/peek on empty stack returns null.