Question d’entretien chez LinkedIn

Partition an array into n equal subsets