Site icon DocMCQs

Which data structure is based on the Last In First Out (LIFO) principle?

a) Tree
b) Linked List
c) Stack
d) Queue

Explanation:

Key operations of a stack:

Exit mobile version