21. Merge Two Sorted Lists
Basic linklist operation.
Analysis:
Algorithm:
Basic linklist operation. It can be done either recursively or iteritively.
Algorithms: while traverse the link, delete cur if cur == cur.next.
The trick is to create two pointers. One is n steps faster.
Same as #1, #653. Either use set or two pointers.