MERGE LISTS
Introduction :
Merge listsMERGE LISTS Introduction : The objective of this program is to merge two lists into one. Merging two lists will just insert the elements of both the lists into the new one and will not delete the duplicate elements. Consider two lists each of 2 nodes. Let l1 and l2 be the pointers pointing to the first elements of lists 1 and 2 respectively. The lists l1 and l2 are shown below.
|
||
|
||
|
More Articles...
|
||
|
|
||
| Page 3 of 4 |