> For the complete documentation index, see [llms.txt](https://dsa-cpp.gitbook.io/nafees/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dsa-cpp.gitbook.io/nafees/linked-list/whats-linked-list-and-implementation.md).

# What's Linked List & Implementation?

<details>

<summary><em><strong>Length of LL</strong></em></summary>

```cpp
int getLength(Node* head) {
    int count = 0;
    while(head != NULL) {
        count++;
        head = head->next;
    }
    return count;
}
```

</details>
