Revised RemoveDuplicatesFromSortedListII.java.