List is a collection of elements in sequential order. In memory we can store the list in two ways, one way is we can store the elements in sequential memory locations.
Linked Lists
•
List is a collection of elements in sequential order. In memory we can store
the list in two ways, one way is we can store the elements in sequential memory
locations. This is known as arrays. And the other way is, we can use pointers
or links to associate the elements sequentially. This known as Linked Lists.
Following Fig. 5.1.1 represents this idea of List.

Definition
of linked list :
•
A linked list is a linear data structure in which elements are stored in nodes
and each node contains:
i)
Data and
ii)
A pointer/reference to the next node in the sequence.
•
In ADT the implementation details are hidden. Hence the ADT will be –
AbstractDataType List
{
Instances :
List is a collection of elements which are arranged in a linear manner.
Operations : Various
operations that can be carried out on list are ‒
1. Insertion :
This operation is for insertion of element in the list.
2. Deletion :
This operation removed the element from the list.
3. Searching :
Based on the value of the key element the desired element can be searched.
4. Modification :
The value of the specific element can be changed without changing its location.
5. Display :
The list can be displayed in forward or in backward manner.
}
Review Question
1. Explain list ADT.
Data Structures using C PlusPlus: Chapter 5: Linked Lists : Tag: Data Structure, C++ Programing : Data Structures using C++ Program - Linked Lists
Data Structures using CPlusPlus
CS25C05 2nd Semester ECE Dept | 2025 Regulation | 2nd Semester 2025 Regulation
English Essentials II
EN25C02 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation
Tamils and Technology தமிழர்களும் தொழில்நுட்பமும்
UC25H02 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation
Linear Algebra
MA25C02 2nd Semester | 2025 Regulation
Electron Devices
EC25C01 2nd Semester ECE Dept | 2025 Regulation | 2nd Semester 2025 Regulation
Data Structures using CPlusPlus
CS25C05 2nd Semester ECE Dept | 2025 Regulation | 2nd Semester 2025 Regulation
Circuits and Network Analysis
EC25C02 2nd Semester ECE Dept | 2025 Regulation | 2nd Semester 2025 Regulation
Re-Engineering for Innovation
ME25C05 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation
Engineering Drawing - Laboratory
ME25C01 2nd Semester | 2025 Regulation | 2nd Semester 2025 Regulation
Data Structures using CPlusPlus - Laboratory
CS25C05 2nd Semester ECE Dept | 2025 Regulation | 2nd Semester 2025 Regulation
Devices and Circuits Laboratory
EC25C03 2nd Semester ECE Dept | 2025 Regulation | 2nd Semester 2025 Regulation