0
Which of the following statements is/are true?
P: The size of a linked list can grow and shrink dynamically during runtime based on the operations performed.
Q: Unlike arrays, linked lists allow for constant-time access to elements by index.
R: The dynamic nature of linked lists means that memory for nodes is allocated only when necessary, leading to better space utilisation.
P: The size of a linked list can grow and shrink dynamically during runtime based on the operations performed.
Q: Unlike arrays, linked lists allow for constant-time access to elements by index.
R: The dynamic nature of linked lists means that memory for nodes is allocated only when necessary, leading to better space utilisation.
- AP, Q, R
- BOnly P and Q
- COnly P and R
- DOnly P
Correct answer: C