Create a linked list from given two linked lists in a way such that the it must contain the elements alternatively from one list to other list. Input : ll1:1->2->3->4 ll2:5->6->7 output: 1->5->2->6->3->7->4
Answers
Answered by
0
Explanation:
a linked list from given two linked lists in a way such that the it must contain the elements alternatively from one list to other list. Input : ll1:1->2->3->4 ll2:5->6->7 output: 1->5->2-
Similar questions