English

Explain the following term: Linked List - Computer Science 1

Advertisements
Advertisements

Question

Explain the following term:

Linked List

Explain
Advertisements

Solution

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
  Is there an error in this question or solution?
2023-2024 (July) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×