Stacks and Queues

1. Which among the following represents a stack?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

2. What is the time complexity of push operation in a stack? What is the time complexity of pop operation in a stack?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

3. Consider these operations on an empty stack: push(3), push(5), pop(), push(10), push(11), pop(), push(100). What will be the stack configuration (first number is top of the stack, last is the bottom)
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation