UBS Interview Question

what is a stack ?

Interview Answers

Anonymous

Oct 10, 2018

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

Anonymous

Aug 22, 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