Solution for Remove Duplicates;
Solution for Partition List.