Partition problem complete