Partition asks whether a multiset of positive integers can be split into two equal-sum halves:
Equivalently, (1) holds iff some subset sums to exactly half the total. NP-complete (Karp); the standard subset-sum DP solves it in pseudo-polynomial time
Karmarkar-Karp's differencing heuristic gives strong approximate answers. On random inputs near the phase transition — the regime where instances are most often unsolvable — exact algorithms struggle while differencing usually finds optimal partitions. Partition is the textbook reduction source for many other NP-complete problems, including job sequencing, bin packing, and 3-partition.