Question: Given two sorted lists L 1 and L 2 , write a Java program to generate a third list which contains all nodes of L
Given two sorted lists L and L write a Java program to generate a third list which contains all nodes of L and L in sorted order. ie the third list is sorted too Same values in lists should be retrieved only once ie union set of lists should be created You can assume that the lists contain only integer values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
