Solution for Partition List