Advertisements
Advertisements
Question
Write any two examples of pop operation.
Very Short Answer
Advertisements
Solution
For stack [100, 200, 300]:
- First
pop()removes 300. - The next
pop()removes 200.
shaalaa.com
Is there an error in this question or solution?
