Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Files

Latest commit

aQuaaQua
aQua
and
aQua
Sep 6, 2017
9bc9523 · Sep 6, 2017

History

History
executable file
·
14 lines (10 loc) · 333 Bytes

File metadata and controls

executable file
·
14 lines (10 loc) · 333 Bytes

题目

Given a sorted linked list, delete all duplicates such that each element appear only once.

For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.

解题思路

见程序注释