1.

Entries in a stack are “ordered”. What is the meaning of this statement?(a) A collection of stacks is sortable(b) Stack entries may be compared with the ‘

Answer»

Correct answer is (d) There is a SEQUENTIAL entry that is one by one

Easy explanation - In stack DATA structure, ELEMENTS are ADDED one by one using push operation. Stack follows LIFO Principle i.e. Last In First Out(LIFO).



Discussion

No Comment Found

Related InterviewSolutions