Skip to main content

One doc tagged with "Iteration"

View all tags

Reverse Linked List

Given the head of a singly linked list, reverse the list and return the head of the reversed list.