Doubt about stack

Asked

Viewed 17 times

-1

On a stack, the first element is set to top and the last element inserted as the base of the stack.

That statement is incorrect right?

  • Why would you say it’s incorrect?

  • Why is the last element to be inserted into a stack still being inserted from the top, isn’t it? And not as a base

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.