Skip to content

Files

Latest commit

Julie ChatzimargiotisJulie Chatzimargiotis
Julie Chatzimargiotis
and
Julie Chatzimargiotis
Nov 2, 2019
2c8b060 · Nov 2, 2019

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 2, 2019
Nov 2, 2019
Nov 2, 2019

Linked List Traversal

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

For example for the following 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