remove duplicates from sorted list ii

use fake head and pre pointer