Which of the following principle does Linked List use?

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

Which of the following principle does Linked List use?

(A). Linear data structure

(B). FIFO only

(C). Both of these

(D). hierarchical data structure

Question’s Answer: Linear data structure

FIFO means first element added to the queue is the first one to be removed from queue.

Data Structure Principle
Linked List linear data structure without an inherent ordering principle
Array linear data structure without an inherent ordering principle
Stack LIFO
Queue FIFO
Tree hierarchical data structure without an inherent ordering principle

Example

 

Output

7 4 2 9
7 is removed.
4 is removed.
2 is removed.
9 is removed.
List is empty!
List is empty!
List is empty!

All Copyrights Reserved 2025 Reserved by T4Tutorials