Question

In a stack data structure, which operation removes and returns the top element?

A) Push
B) Pop
C) Peek
D) Top

Answers

GPT 3.5
B) Pop