You are viewing a single comment's thread. Return to all comments →
new_node = new SinglyLinkedListNode(data);
try this in 2nd line
Insert a Node at the Tail of a Linked List
You are viewing a single comment's thread. Return to all comments →
new_node = new SinglyLinkedListNode(data);
try this in 2nd line