PartitionSolver for 2.4 of CTCI