Medium

Circular Linked List

The last node points at the first, so a walk ends when it returns to the node where it started.

Costs

CategoryData Structure
DifficultyMedium
Insert at the head, with a tail pointerO(1)
Walk the circleO(n)
SearchO(n)

Questions

What is Circular Linked List?

The last node points at the first, so a walk ends when it returns to the node where it started.

Where do I practice it?

DSA Master keeps challenges and progress on the phone. This page is the idea and the costs.