2014年4月8日

Linked List 专栏

摘要: 问题一: merge two sorted linkedlist.Key to solve this problemThe key to solve the problem is defining a fake head. Then compare the first elements from each list. Add the smaller one to the merged list. Finally, when one of them is empty, simply append it to the merged list, since it is already sorted. 阅读全文

posted @ 2014-04-08 04:16 brave_bo 阅读(170) 评论(0) 推荐(0)

导航