1.

How To Delete Alternate Nodes Of A Linked List?

Answer»

You are given a SINGLY Linked List. Starting from the second node delete all alternate nodes of it. For EXAMPLE, if the given linked list is 1->4->8->10->15 then your FUNCTION should convert it to 1->8->15.

You are given a Singly Linked List. Starting from the second node delete all alternate nodes of it. For example, if the given linked list is 1->4->8->10->15 then your function should convert it to 1->8->15.



Discussion

No Comment Found