Add solution to 'remove duplicates from sorted list ii'.