Oleksii Trekhleb 7d13e6863a README fixes.
2022-01-22 10:50:33 +01:00
..
2022-01-22 10:50:33 +01:00
2020-12-17 09:49:57 +01:00
2022-01-22 10:21:37 +01:00

Linked List Traversal

Read this in other languages: Русский, 中文

The task is to traverse the given linked list in straight order.

For example for the following linked list:

Singly linked list

The order of traversal should be:

12 → 99 → 37

The time complexity is O(n) because we visit every node only once.

Reference