...

/

Partition

Partition

This algorithm allows us to divide or split ranges into separate sets.

ℹ️ What is a partition?
A partition of a set is a decomposition of a set in subsets so that each element of the set is precisely in one subset. The subsets are defined in C++ by a unary predicate so that the members of the first subset fulfill the predicate. The remaining ...