Question: There is a three - plate stack in a canteen with a spring inside. The plate placed first stays at the top because of the

There is a three-plate stack in a canteen with a spring inside. The plate placed first stays at the top
because of the spring. The two bottom places are empty. When a second plate is placed on the top, the
previous plate moves to the middle place. When a third plate is placed on the top, the previous (second
plate) goes to the middle place and the first plate goes to the bottom of the stack. There is only one
place in the stack from where a plate can be placed (Inserted) in it or can be removed (deleted) from it
and that is the top of the stack. This is essentially a LIFO (Last In First Out) system.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!