What are the basic operations of stack?



What are the basic operations of stack?..

Answer / Mohd Waseem Akram

The basic operations of a stack are Push (add element), Pop (remove element), Peek (view top element without removing it), and Check Empty.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Can arraylist contain null?

1 Answers  


What are priority queues?

1 Answers  


Explain linear linked implementation of Stack and Queue?

1 Answers  


Discuss how to implement queue using stack.

1 Answers  


Is arraylist fail fast?

1 Answers  


Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1 Answers  


Will hashmap allow null keys?

1 Answers  


What is a b+ tree? Explain its uses.

1 Answers  


Which is better bubble sort or selection sort?

1 Answers  


How hashmap increases its size?

1 Answers  


What are the main differences between the linked list and linear array?

1 Answers  


What is the best case for bubble sort?

1 Answers  


Categories