February 2, 2016
Always work on simple problem. Enjoy the practice. Recursive function design is most important one.
recursive solution:
http://stackoverflow.com/questions/10707352/interview-merging-two-sorted-singly-linked-list
Itearative solution:
http://stackoverflow.com/questions/10707352/interview-merging-two-sorted-singly-linked-list
http://www.geeksforgeeks.org/merge-two-sorted-linked-lists/
Julia's practice:
Recursive solution:
https://github.com/jianminchen/AlgorithmsPractice/blob/master/MergeTwoSortedSinglyLinkedList.cs
No comments:
Post a Comment