algo4: linkedlist: Remove duplicates from sorted list I && II