Advertisements
Advertisements
प्रश्न
Explain the following term:
Linked List
स्पष्ट करा
Advertisements
उत्तर
A linked list is a linear data structure where elements, called nodes, are not stored in contiguous memory locations. Each node consists of a data field and a pointer (link) that points to the next node in the sequence.
It is best used when you need dynamic memory allocation and frequent insertions or deletions, as these operations don't require shifting elements like an array does.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2023-2024 (July) Official Board Paper
