DSA_1_ProblemSet_Linked_list
DSA_1_ProblemSet_Linked_list
1
Linked List: 10 → 20 → 40 → NULL
2
9. Merge Two Sorted Singly Linked Lists
Problem:
Given two singly linked lists sorted in ascending order, merge them into one sorted linked list.
Example Input:
List1 = [10, 30, 50], List2 = [20, 40, 60]
Example Output:
Merged List: 10 → 20 → 30 → 40 → 50 → 60 → NULL