161k views
3 votes
What are some of the other operations that might be implemented for a stack?

1 Answer

3 votes

Answer:

push, pop, top, clear

Step-by-step explanation:

push: add a new value

pop: remove and return top value

top: return top value without removing

clear: remove all values

User KrisSodroski
by
5.4k points