Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.
Given two sorted integer arrays A and B, merge B into A as one sorted array.