I have an unordered set of n unique, positive integers. I want to partition it into ceil(n / k) unordered sets of up to k numbers (k << n) in a deterministic way (I want to get a sequence of the same ceil(n / k) output sets without depending on a fixed order of the input).
Is there a way to do so that has superior algorithmic complexity to sorting the set and partitioning the resulting sequence?