Question: JAVA Given two linked lists of Strings that are each sorted in alphabetical order from head to tail, produce a third linked list which contains
JAVA
Given two linked lists of Strings that are each sorted in alphabetical order from head to tail, produce a third linked list which contains the strings from both linked lists and also sorted from head to tail. Note that there could be some duplicate strings in either or both lists. You can use compareTo(..) method of String class for comparing two strings for alphabetical ordering.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
