This is my solution to this problem.
Error in input. The default input code was not working please fix
hey @Rishabh8488 code is fine
Just give new line after every output
list1.merge_sorted_list(list2);
list1.display();
System.out.println();
This is my solution to this problem.
hey @Rishabh8488 code is fine
Just give new line after every output
list1.merge_sorted_list(list2);
list1.display();
System.out.println();