Problem 369 · Medium

Plus One Linked List

Add one to a number stored as a linked list of digits, carrying from the last node back toward the head. The visual walks from the tail to the head and shows where the carry stops.

Open the interactive visualisation