摘要:
1. 伪代码 1. 递归版本 Function MergeTwoLists(l1, l2): If l1 is null: Return l2 If l2 is null: Return l1 If l1.value < l2.value: l1.next = MergeTwoLists(l1.ne 阅读全文
posted @ 2025-04-07 10:49 steve.z 阅读(20) 评论(0) 推荐(0)
|
摘要:
1. 伪代码 1. 递归版本 Function MergeTwoLists(l1, l2): If l1 is null: Return l2 If l2 is null: Return l1 If l1.value < l2.value: l1.next = MergeTwoLists(l1.ne 阅读全文
posted @ 2025-04-07 10:49 steve.z 阅读(20) 评论(0) 推荐(0) |
||