Question: Describe the output of the following series of stack operations: push(5),
push(3), push(2), push(8), pop(), top(), push(9), push(1), pop(), push(7), push(6), top(), pop(), push(4), pop()
Please note that there is top() that's new for me!
Solve this problem.