【Leetcode 21】Merge Two Sorted Lists
难度: 简单(Easy)
题目:
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.
代码:
1 | def mergeTwoLists(self, l1, l2): |
难度: 简单(Easy)
题目:
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.
代码:
1 | def mergeTwoLists(self, l1, l2): |
评论系统未开启,无法评论!