SLB interview question

what is a stack and how can it be implemented