Flattening a Linked List

data-structure
linked-list

(Team) #1

The problem we are exploring is to flatten a singly linked list. The initial singly linked list (to be flattened) has nodes of the following type:


This is a companion discussion topic for the original entry at http://iq.opengenus.org/flattening-a-linked-list/