👉 In computer science, a linked list is an ordered collection of data items that are connected in a way similar to how you might connect together pieces of a puzzle. Each element in the linked list has a reference to its next element, allowing for efficient storage and retrieval operations.
For example:
```
// Example 1: Linked List
struct Node {
int data;
struct Node
next;
// Constructor
Node(int d) : data(d), next(nullptr) {}
};
``