RTUComputer ScienceYr 2024 · Sem 32024

Q4Data Structures

Question

2 marks

What is linked list? What are its types?

Answer

A linked list is a sequential collection of nodes containing data and pointers. Types include singly, doubly, and circular.

A linked list is a dynamic, linear data structure consisting of discrete elements called nodes. Each node physically encapsulates two parts: the actual data and a referential pointer linking to the memory address of the subsequent node. The primary classifications encompass Singly Linked Lists (forward traversal only), Doubly Linked Lists (bidirectional traversal), and Circular Linked Lists (continuous looping).

Back to Paper