#linkedlists
Read more stories on Hashnode
Articles with this tag
Problem Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the...
Problem Statement Given the heads of two singly linked-lists headA and headB, return the node at which the two lists intersect. If the two linked...
Problem Given the head of a linked list, remove the nth node from the end of the list and return its head. (link) Example 1: Input: head =...
Detect a loop in LL ยท Problem Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if...