Question d’entretien chez ByteDance

Finding the subset of a specific sum given an array