【Amazon面经】Merge Two Sorted Lists 其他公司 电面 开发岗

喵贵妃 2020-5-26 810


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.

Example:

Input:

1->2->4, 1->3->4

Output:

1->1->2->3->4->4

最后于 2020-6-1 被maomoke编辑 ,原因:
最新回复 (0)
返回