Domanda di colloquio di Meta

Partition array in two subsets such that they have equal sum