UBS interview question

what is a stack ?

Interview Answers

Anonymous

10 Oct 2018

It is a data structure that is traversed but poping and pushing.

Anonymous

22 Aug 2020

Stack is a datastructure which works on LIFO (last in first out ) manner It supports operations those are:- 1.push 2.pop 3.peek